lib64
/
python2.7
/
Demo
/
parser
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
FILES
91 bytes
Rename
Delete
README
1.01 KB
Rename
Delete
docstring.py
27 bytes
Rename
Delete
docstring.pyc
175 bytes
Rename
Delete
docstring.pyo
175 bytes
Rename
Delete
example.py
5.59 KB
Rename
Delete
example.pyc
7.04 KB
Rename
Delete
example.pyo
7.04 KB
Rename
Delete
simple.py
29 bytes
Rename
Delete
simple.pyc
279 bytes
Rename
Delete
simple.pyo
279 bytes
Rename
Delete
source.py
741 bytes
Rename
Delete
source.pyc
1.55 KB
Rename
Delete
source.pyo
1.55 KB
Rename
Delete
test_parser.py
1.16 KB
Rename
Delete
test_parser.pyc
1.41 KB
Rename
Delete
test_parser.pyo
1.41 KB
Rename
Delete
test_unparse.py
5.44 KB
Rename
Delete
test_unparse.pyc
8.45 KB
Rename
Delete
test_unparse.pyo
8.45 KB
Rename
Delete
unparse.py
16.85 KB
Rename
Delete
unparse.pyc
23.44 KB
Rename
Delete
unparse.pyo
23.36 KB
Rename
Delete
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!
Save