瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • zh_TW 3.8.0 文档 »
  • Python 標準函式庫 (Standard Library) »
  • |

Python 语言服务¶

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

这些模块包括:

  • parser --- Access Python parse trees
    • Creating ST Objects
    • Converting ST Objects
    • Queries on ST Objects
    • Exceptions and Error Handling
    • ST Objects
    • Example: Emulation of compile()
  • ast --- 抽象语法树
    • 节点类
    • 抽象文法
    • ast 中的辅助函数
  • symtable --- Access to the compiler's symbol tables
    • Generating Symbol Tables
    • Examining Symbol Tables
  • symbol --- 与 Python 解析树一起使用的常量
  • token --- 与Python解析树一起使用的常量
  • keyword --- 检验Python关键字
  • tokenize --- Tokenizer for Python source
    • Tokenizing Input
    • Command-Line Usage
    • 示例
  • tabnanny --- 模糊缩进检测
  • pyclbr --- Python class browser support
    • 函式物件
    • 类对象
  • py_compile --- Compile Python source files
  • compileall --- Byte-compile Python libraries
    • Command-line use
    • Public functions
  • dis --- Python bytecode的反組譯器
    • 字节码分析
    • 分析函数
    • Python字节码说明
    • 操作码集合
  • pickletools --- Tools for pickle developers
    • 命令行语法
      • Command line options
    • Programmatic Interface

上個主題

Using importlib.metadata

下個主題

parser --- Access Python parse trees

本頁

  • 提交 Bug
  • 顯示原始碼

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • zh_TW 3.8.0 文档 »
  • Python 標準函式庫 (Standard Library) »
  • |
© 版權所有 2001-2019, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最後更新於 12月 10, 2019。 Found a bug?
Created using Sphinx 2.2.1.