32. Python 语言服务
*******************

Python 提供了许多模块来帮助使用 Python 语言。 这些模块支持标记化、解析
、语法分析、字节码反汇编以及各种其他工具。

这些模块包括：

* 32.1. "parser" --- Access Python parse trees

  * 32.1.1. Creating ST Objects

  * 32.1.2. Converting ST Objects

  * 32.1.3. Queries on ST Objects

  * 32.1.4. Exceptions and Error Handling

  * 32.1.5. ST Objects

  * 32.1.6. Example: Emulation of "compile()"

* 32.2. "ast" --- 抽象语法树

  * 32.2.1. 节点类

  * 32.2.2. 抽象文法

  * 32.2.3. "ast" 中的辅助函数

* 32.3. "symtable" --- Access to the compiler's symbol tables

  * 32.3.1. Generating Symbol Tables

  * 32.3.2. Examining Symbol Tables

* 32.4. "symbol" --- 与 Python 解析树一起使用的常量

* 32.5. "token" --- 与Python解析树一起使用的常量

* 32.6. "keyword" --- 检验Python关键字

* 32.7. "tokenize" --- Tokenizer for Python source

  * 32.7.1. Tokenizing Input

  * 32.7.2. Command-Line Usage

  * 32.7.3. 例子

* 32.8. "tabnanny" --- 模糊缩进检测

* 32.9. "pyclbr" --- Python class browser support

  * 32.9.1. 类对象

  * 32.9.2. 函数对象

* 32.10. "py_compile" --- Compile Python source files

* 32.11. "compileall" --- Byte-compile Python libraries

  * 32.11.1. Command-line use

  * 32.11.2. Public functions

* 32.12. "dis" --- Python 字节码反汇编器

  * 32.12.1. 字节码分析

  * 32.12.2. 分析函数

  * 32.12.3. Python字节码说明

  * 32.12.4. 操作码集合

* 32.13. "pickletools" --- Tools for pickle developers

  * 32.13.1. 命令行语法

    * 32.13.1.1. Command line options

  * 32.13.2. Programmatic Interface
