18. Usługi związane z językiem Python

Python udostępnia szereg modułów, ułatwiających współdziałanie z samym językiem. Obsługują one tokenizację, analizę składniową, deasemblację kodu bajtowego i wiele innych udogodnień.

Do modułów tych należą:

parser   Access parse trees for Python source code.
symbol   Constants representing internal nodes of the parse tree.
token   Constants representing terminal nodes of the parse tree.
keyword   Służy sprawdzaniu, czy napisy stanowią słowa kluczowe Pythona.
tokenize   Lexical scanner for Python source code.
tabnanny   Tool for detecting white space related problems in Python source files in a directory tree.
pyclbr   Supports information extraction for a Python class browser.
py_compile   Compile Python source files to byte-code files.
compileall   Tools for byte-compiling all Python source files in a directory tree.
dis   Disassembler for Python byte code.
distutils   Support for building and installing Python modules into an existing Python installation.

Zajrzyj do Informacji na temat tej publikacji... aby pomóc w jej rozwoju.