PK
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
compile()
ast
symtable
symbol
token
keyword
tokenize
tabnanny
pyclbr
py_compile
compileall
dis
pickletools
31.5. importlib — The implementation of import
importlib
import
32.1. parser — Access Python parse trees