A python code online editing method and electronic equipment

A code and editing technology, applied in the python field, can solve problems such as not supporting online editing of python code, and achieve the effect of saving time and improving efficiency

Inactive Publication Date: 2019-05-07
SHENZHEN DIANMAO TECH CO LTD
View PDF1 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a method and an ele...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A python code online editing method and electronic equipment
  • A python code online editing method and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention provides a method and electronic equipment for editing python codes online. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0045] see figure 1 , a method for editing python code online, which includes steps:

[0046] S1. Write a grammar analysis in advance in a programming language, and the grammar analysis is a python-based grammar structure, and initialize the configuration of the grammar analysis to obtain a configuration file of python-based grammar rules;

[0047] S2. Obtain the text information input by the user, analyze the text information according to the configuration file, and obtain a corresponding analysis file;

[0048] S3. Convert the parsed file into a scri...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a python code online editing method and electronic equipment. The method comprises: compiling that grammar analysis is compiled in advance through a programming language, wherein the grammar analysis is a python-based grammar structure, configuration of the grammar analysis is initialized, and a configuration file of a python-based grammar rule is obtained; Obtaining text information input by a user, and analyzing the text information according to the configuration file to obtain a corresponding analysis file; And converting the parsed file into a script language, and operating the script language. Through the method provided by the invention, a user can directly run the python code through the browser, so that a python code editor does not need to be installed in acomputer, a system patch and a dll file do not need to be installed, and the time is greatly saved. In addition, python codes are directly operated through the browser, so that the python codes are more convenient and faster, and the python codes can be greatly improved.

Description

technical field [0001] The invention relates to the field of python, in particular to a method for editing python codes online and electronic equipment. Background technique [0002] With the rise of the era of artificial intelligence and big data, python, a dynamic language, has been unanimously recognized by industry and academia for its concise syntax, rich and powerful community, and powerful cross-platform features. Users can achieve the goal of "communicating" with artificial intelligence through the python language. Not only that, more and more programming enthusiasts are gradually joining the learning and creation of python code. [0003] Users can install a python code editor in the computer, so as to achieve the purpose of learning python code and creating python code. [0004] However, due to the characteristics of the python code editor, it must be installed in the windows 10 operating system. If it is installed in a lower version of the windows operating syste...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/30
Inventor 孙悦李天驰翁晓君
Owner SHENZHEN DIANMAO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products