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 trees -
ast
— Abstract Syntax Trees -
symtable
— Access to the compiler’s symbol tables symbol
— Constants used with Python parse treestoken
— Constants used with Python parse treeskeyword
— Testing for Python keywords-
tokenize
— Tokenizer for Python source tabnanny
— Detection of ambiguous indentation-
pyclbr
— Python module browser support py_compile
— Compile Python source files-
compileall
— Byte-compile Python libraries -
dis
— Disassembler for Python bytecode -
pickletools
— Tools for pickle developers
© 2001–2022 Python Software Foundation
Licensed under the PSF License.
https://docs.python.org/3.9/library/language.html