导航

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

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:

  • parser — Access Python parse trees
    • Creating ST Objects
    • Converting ST Objects
    • Queries on ST Objects
    • Exceptions and Error Handling
    • ST Objects
    • Examples
      • Emulation of compile()
      • Information Discovery
  • Abstract Syntax Trees
    • Node classes
    • Abstract Grammar
    • ast Helpers
  • symtable — Access to the compiler’s symbol tables
    • Generating Symbol Tables
    • Examining Symbol Tables
  • symbol — Constants used with Python parse trees
  • token — Constants used with Python parse trees
  • keyword — Testing for Python keywords
  • tokenize — Tokenizer for Python source
  • tabnanny — Detection of ambiguous indentation
  • pyclbr — Python class browser support
    • Class Objects
    • Function Objects
  • py_compile — Compile Python source files
  • compileall — Byte-compile Python libraries
  • dis — Disassembler for Python bytecode
    • Python Bytecode Instructions
  • pickletools — Tools for pickle developers.
  • distutils — Building and installing Python modules

上一个主题

runpy — Locating and executing Python modules

下一个主题

parser — Access Python parse trees

本页

  • 显示源代码

快速搜索

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • Python 3.0.1 文档 »
  • 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.