X7ROOT File Manager
Current Path:
/lib64/python2.7/Demo/parser
lib64
/
python2.7
/
Demo
/
parser
/
??
..
??
FILES
(91 B)
??
README
(1.01 KB)
??
docstring.py
(27 B)
??
docstring.pyc
(175 B)
??
docstring.pyo
(175 B)
??
example.py
(5.59 KB)
??
example.pyc
(7.04 KB)
??
example.pyo
(7.04 KB)
??
simple.py
(29 B)
??
simple.pyc
(279 B)
??
simple.pyo
(279 B)
??
source.py
(741 B)
??
source.pyc
(1.55 KB)
??
source.pyo
(1.55 KB)
??
test_parser.py
(1.16 KB)
??
test_parser.pyc
(1.41 KB)
??
test_parser.pyo
(1.41 KB)
??
test_unparse.py
(5.44 KB)
??
test_unparse.pyc
(8.45 KB)
??
test_unparse.pyo
(8.45 KB)
??
unparse.py
(16.85 KB)
??
unparse.pyc
(23.44 KB)
??
unparse.pyo
(23.36 KB)
Editing: README
These files are from the large example of using the `parser' module. Refer to the Python Library Reference for more information. It also contains examples for the AST parser. Files: ------ FILES -- list of files associated with the parser module. README -- this file. docstring.py -- sample source file containing only a module docstring. example.py -- module that uses the `parser' module to extract information from the parse tree of Python source code. simple.py -- sample source containing a "short form" definition. source.py -- sample source code used to demonstrate ability to handle nested constructs easily using the functions and classes in example.py. test_parser.py program to put the parser module through its paces. test_unparse.py tests for the unparse module unparse.py AST (2.7) based example to recreate source code from an AST. Enjoy!
Upload File
Create Folder