Python logo

上個話題

The initialization of the sys.path module search path

下個話題

ast --- Abstract syntax trees

This page

  • 回報臭蟲
  • 顯示來源碼

導航

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python logo
  • Python »
  • 3.14.0rc3 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
    • 編譯器旗標
    • 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

  • 回報臭蟲
  • 顯示來源碼
«

導航

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python logo
  • Python »
  • 3.14.0rc3 Documentation »
  • The Python Standard Library »
  • Python Language Services
  • |
  • |
© 版權所有 2001 Python Software Foundation.
此頁面採用 Python 軟體基金會授權條款第 2 版。
文件中的範例、應用技巧與其他程式碼額外採用了 Zero Clause BSD 授權條款。
更多訊息請見歷史與授權條款。

Python 軟體基金會是一家非營利法人。 敬請捐贈。

最後更新於 10月 08, 2025 (08:22 UTC)。 發現 bug?
以 Sphinx8.2.3建立。