Previous: 17.2 Bastion Up: Python Library Reference Next: 18.1 parser


18. Python Language Services

Python provides a number of modules to assist in working with the Python language. These module support tokenizing, parsing, syntax analysis, bytecode disassembly, and various other facilities.

These modules include:

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 Test whether a string is a keyword in Python.
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.


Previous: 17.2 Bastion Up: Python Library Reference Next: 18.1 parser
Release 2.2.3, documentation updated on 30 May 2003.
See About this document... for information on suggesting changes.

AltStyle によって変換されたページ (->オリジナル) /