Python logo

上一主题

The initialization of the sys.path module search path

下一主题

ast --- Abstract Syntax Trees

This page

  • Report a bug
  • Show source

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • The Python Standard Library »
  • Python Language Services
  • |
  • |

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:

  • ast --- Abstract Syntax Trees
    • Abstract Grammar
    • Node classes
      • Root nodes
      • Literals
      • Variables
      • Expressions
        • Subscripting
        • Comprehensions
      • Statements
        • Imports
      • Control flow
      • Pattern matching
      • Type annotations
      • Type parameters
      • Function and class definitions
      • Async and await
    • ast Helpers
    • Compiler Flags
    • Command-Line Usage
  • symtable --- Access to the compiler's symbol tables
    • Generating Symbol Tables
    • Examining Symbol Tables
    • Command-Line Usage
  • token --- Constants used with Python parse trees
  • keyword --- Testing for Python keywords
  • tokenize --- Tokenizer for Python source
    • Tokenizing Input
    • Command-Line Usage
    • Examples
  • tabnanny --- Detection of ambiguous indentation
  • pyclbr --- Python module browser support
    • Function Objects
    • Class Objects
  • py_compile --- Compile Python source files
    • Command-Line Interface
  • compileall --- Byte-compile Python libraries
    • Command-line use
    • Public functions
  • dis --- Disassembler for Python bytecode
    • Command-line interface
    • Bytecode analysis
    • Analysis functions
    • Python Bytecode Instructions
    • Opcode collections
  • pickletools --- Tools for pickle developers
    • Command line usage
      • Command line options
    • Programmatic Interface

上一主题

The initialization of the sys.path module search path

下一主题

ast --- Abstract Syntax Trees

This page

  • Report a bug
  • Show source
«

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • The Python Standard Library »
  • Python Language Services
  • |
  • |
© 版权 2001-2025, Python Software Foundation.
本页面采用 Python 软件基金会许可证第 2 版授权。
文档中的示例、代码片段及其他代码内容额外采用零条款 BSD 许可证授权。
更多信息请参阅《 历史与许可 》。

Python 软件基金会是一家非营利性公司。 请进行捐赠。

最后更新于10月 08, 2025 (08:20 UTC) 。 发现了错误?
使用Sphinx 8.2.3 创建。