32. 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:
- 32.1.
parser
β Access Python parse trees - 32.2.
ast
β Abstract Syntax Trees - 32.3.
symtable
β Access to the compilerβs symbol tables - 32.4.
symbol
β Constants used with Python parse trees - 32.5.
token
β Constants used with Python parse trees - 32.6.
keyword
β Testing for Python keywords - 32.7.
tokenize
β Tokenizer for Python source - 32.8.
tabnanny
β Detection of ambiguous indentation - 32.9.
pyclbr
β Python class browser support - 32.10.
py_compile
β Compile Python source files - 32.11.
compileall
β Byte-compile Python libraries - 32.12.
dis
β Disassembler for Python bytecode - 32.13.
pickletools
β Tools for pickle developers