Server IP : 213.176.29.180 / Your IP : 3.145.163.26 Web Server : Apache System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64 User : webtaragh ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib64/pkcs11/../python2.7/Demo/parser/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
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!