Docs4dev
Docs
Docs4dev
  • Tools
  • Privacy
  • GitHub

Search

Loading search index…

No recent searches

No results for "Query here"

  • to select
  • to navigate
  • to close

Search by FlexSearch

On this page

On this page
python / 3.7.2rc1 / all / library-language.html

Python 语言服务

Python 提供了许多模块来协助使用 Python 语言。这些模块支持令牌化,解析,语法分析,字节码反汇编和其他各种Function。

这些模块包括:

  • 解析器—访问 Python 解析树

  • 创建 ST 对象

    • 转换 ST 对象

    • 关于 ST 对象的查询

    • 异常和错误处理

    • ST Objects

    • 示例:仿真 compile()

  • ast —抽象语法树

  • Node classes

    • Abstract Grammar

    • ast Helpers

  • symtable —访问编译器的符号表

  • 生成符号表

    • 检查符号表
  • symbol —与 Python 解析树一起使用的常量

  • token —与 Python 解析树一起使用的常量

  • 关键字-测试 Python 关键字

  • tokenize —用于 Python 的 Tokenizer 源

  • Tokenizing Input

    • Command-Line Usage

    • Examples

  • tabnanny-检测到模糊缩进

  • pyclbr — Python 模块浏览器支持

  • Function Objects

    • Class Objects
  • py_compile —编译 Python 源文件

  • compileall —字节编译 Python 库

  • Command-line use

    • Public functions
  • dis — Python 字节码的反汇编程序

  • Bytecode analysis

    • Analysis functions

    • Python 字节码指令

    • Opcode collections

  • pickletools —pickle 开发人员的工具

  • 命令行用法

  • 命令行选项

    • Programmatic Interface
  • Privacy Policy
  • 蜀ICP备14021783号-6
  • Brought to you by Docs4dev