Служби мови Python¶
Python надає ряд модулів для допомоги в роботі з мовою Python. Ці модулі підтримують токенізацію, синтаксичний аналіз, аналіз синтаксису, розбирання байт-коду та різні інші засоби.
Ці модулі включають:
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— Disassembler for Python bytecodepickletools— Tools for pickle developers