Python Language Services¶
Python provides a number of modules to assist in working with the Python language. These modules support tokenizing, parsing, syntax analysis, bytecode disassembly, and various other facilities.
These modules include:
parser
--- Access Python parse treesast
--- Abstract Syntax Treessymtable
--- Access to the compiler's symbol tablessymbol
--- Constants used with Python parse treestoken
--- Constants used with Python parse treeskeyword
--- Testing for Python keywordstokenize
--- Tokenizer for Python sourcetabnanny
--- Detection of ambiguous indentationpyclbr
--- Python module browser supportpy_compile
--- Compile Python source filescompileall
--- Byte-compile Python librariesdis
--- Python bytecode的反組譯器pickletools
--- Tools for pickle developers