导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 3.9.0a2 文档 »
  • Python 标准库 »
  • |

Python 语言服务P

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 中的辅助函数
    • Command-Line Usage
  • 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 字节码反汇编器
    • 字节码分析
    • 分析函数
    • Python字节码说明
    • 操作码集合
  • pickletools --- Tools for pickle developers
    • 命令行语法
      • Command line options
    • Programmatic Interface

上一个主题

Using importlib.metadata

下一个主题

parser --- Access Python parse trees

本页

  • 提交 Bug
  • 显示源代码

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • zh_CN 3.9.0a2 文档 »
  • Python 标准库 »
  • |
© 版权所有 2001-2019, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 12月 19, 2019. Found a bug?
Created using Sphinx 2.2.1.