30. 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:
- 30.1. parser — Access Python parse trees
- 30.2. ast — Abstract Syntax Trees
- 30.3. symtable — Access to the compiler’s symbol tables
- 30.4. symbol — Constants used with Python parse trees
- 30.5. token — Constants used with Python parse trees
- 30.6. keyword — Testing for Python keywords
- 30.7. tokenize — Tokenizer for Python source
- 30.8. tabnanny — Detection of ambiguous indentation
- 30.9. pyclbr — Python class browser support
- 30.10. py_compile — Compile Python source files
- 30.11. compileall — Byte-compile Python libraries
- 30.12. dis — Disassembler for Python bytecode
- 30.13. pickletools — Tools for pickle developers