ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### 导航 - [索引](../genindex.xhtml "总目录") - [模块](../py-modindex.xhtml "Python 模块索引") | - [下一页](parser.xhtml "parser --- Access Python parse trees") | - [上一页](importlib.xhtml "importlib --- The implementation of import") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) » - zh\_CN 3.7.3 [文档](../index.xhtml) » - [Python 标准库](index.xhtml) » - $('.inline-search').show(0); | # Python 语言服务 Python 提供了许多模块来帮助使用 Python 语言。 这些模块支持标记化、解析、语法分析、字节码反汇编以及各种其他工具。 这些模块包括: - [`parser` --- Access Python parse trees](parser.xhtml) - [Creating ST Objects](parser.xhtml#creating-st-objects) - [Converting ST Objects](parser.xhtml#converting-st-objects) - [Queries on ST Objects](parser.xhtml#queries-on-st-objects) - [Exceptions and Error Handling](parser.xhtml#exceptions-and-error-handling) - [ST Objects](parser.xhtml#st-objects) - [Example: Emulation of `compile()`](parser.xhtml#example-emulation-of-compile) - [`ast` --- 抽象语法树](ast.xhtml) - [节点类](ast.xhtml#node-classes) - [抽象文法](ast.xhtml#abstract-grammar) - [`ast` 中的辅助函数](ast.xhtml#ast-helpers) - [`symtable` --- Access to the compiler's symbol tables](symtable.xhtml) - [Generating Symbol Tables](symtable.xhtml#generating-symbol-tables) - [Examining Symbol Tables](symtable.xhtml#examining-symbol-tables) - [`symbol` --- 与 Python 解析树一起使用的常量](symbol.xhtml) - [`token` --- 与Python解析树一起使用的常量](token.xhtml) - [`keyword` --- 检验Python关键字](keyword.xhtml) - [`tokenize` --- Tokenizer for Python source](tokenize.xhtml) - [Tokenizing Input](tokenize.xhtml#tokenizing-input) - [Command-Line Usage](tokenize.xhtml#command-line-usage) - [示例](tokenize.xhtml#examples) - [`tabnanny` --- 模糊缩进检测](tabnanny.xhtml) - [`pyclbr` --- Python class browser support](pyclbr.xhtml) - [函数对象](pyclbr.xhtml#function-objects) - [类对象](pyclbr.xhtml#class-objects) - [`py_compile` --- Compile Python source files](py_compile.xhtml) - [`compileall` --- Byte-compile Python libraries](compileall.xhtml) - [Command-line use](compileall.xhtml#command-line-use) - [Public functions](compileall.xhtml#public-functions) - [`dis` --- Python 字节码反汇编器](dis.xhtml) - [Bytecode analysis](dis.xhtml#bytecode-analysis) - [Analysis functions](dis.xhtml#analysis-functions) - [Python Bytecode Instructions](dis.xhtml#python-bytecode-instructions) - [Opcode collections](dis.xhtml#opcode-collections) - [`pickletools` --- Tools for pickle developers](pickletools.xhtml) - [Command line usage](pickletools.xhtml#command-line-usage) - [Command line options](pickletools.xhtml#command-line-options) - [Programmatic Interface](pickletools.xhtml#programmatic-interface) ### 导航 - [索引](../genindex.xhtml "总目录") - [模块](../py-modindex.xhtml "Python 模块索引") | - [下一页](parser.xhtml "parser --- Access Python parse trees") | - [上一页](importlib.xhtml "importlib --- The implementation of import") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) » - zh\_CN 3.7.3 [文档](../index.xhtml) » - [Python 标准库](index.xhtml) » - $('.inline-search').show(0); | © [版权所有](../copyright.xhtml) 2001-2019, Python Software Foundation. Python 软件基金会是一个非盈利组织。 [请捐助。](https://www.python.org/psf/donations/) 最后更新于 5月 21, 2019. [发现了问题](../bugs.xhtml)? 使用[Sphinx](http://sphinx.pocoo.org/)1.8.4 创建。