导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • Python 2.6.9 文档 »
  • The Python Standard Library »
  • |

31. 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:

  • 31.1. parser — Access Python parse trees
    • 31.1.1. Creating ST Objects
    • 31.1.2. Converting ST Objects
    • 31.1.3. Queries on ST Objects
    • 31.1.4. Exceptions and Error Handling
    • 31.1.5. ST Objects
    • 31.1.6. Examples
      • 31.1.6.1. Emulation of compile()
      • 31.1.6.2. Information Discovery
  • 31.2. Abstract Syntax Trees
    • 31.2.1. Node classes
    • 31.2.2. Abstract Grammar
    • 31.2.3. ast Helpers
  • 31.3. symtable — Access to the compiler’s symbol tables
    • 31.3.1. Generating Symbol Tables
    • 31.3.2. Examining Symbol Tables
  • 31.4. symbol — Constants used with Python parse trees
  • 31.5. token — Constants used with Python parse trees
  • 31.6. keyword — Testing for Python keywords
  • 31.7. tokenize — Tokenizer for Python source
  • 31.8. tabnanny — Detection of ambiguous indentation
  • 31.9. pyclbr — Python class browser support
    • 31.9.1. Class Objects
    • 31.9.2. Function Objects
  • 31.10. py_compile — Compile Python source files
  • 31.11. compileall — Byte-compile Python libraries
  • 31.12. dis — Disassembler for Python bytecode
    • 31.12.1. Python Bytecode Instructions
  • 31.13. pickletools — Tools for pickle developers

上一个主题

30.6. runpy — Locating and executing Python modules

下一个主题

31.1. parser — Access Python parse trees

本页

  • 显示源代码

快速搜索

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • Python 2.6.9 文档 »
  • The Python Standard Library »
  • |
© 版权所有 1990-2025, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 8月 10, 2025.
Created using Sphinx 1.8.4.