Python 语言服务¶
Python 提供了许多模块来帮助使用 Python 语言。 这些模块支持标记化、解析、语法分析、字节码反汇编以及各种其他工具。
这些模块包括:
parser--- Access Python parse treesast--- 抽象语法树symtable--- Access to the compiler's symbol tablessymbol--- 与 Python 解析树一起使用的常量token--- 与Python解析树一起使用的常量keyword--- 检验Python关键字tokenize--- Tokenizer for Python sourcetabnanny--- 模糊缩进检测pyclbr--- Python class browser supportpy_compile--- Compile Python source filescompileall--- Byte-compile Python librariesdis--- Python 字节码反汇编器pickletools--- Tools for pickle developers
