### 导航
- [索引](../genindex.xhtml "总目录")
- [模块](../py-modindex.xhtml "Python 模块索引") |
- [下一页](code.xhtml "code --- Interpreter base classes") |
- [上一页](site.xhtml "site --- Site-specific configuration hook") |
- ![](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 语言的 Python 解释器,你应该看看 [`code`](code.xhtml#module-code "code: Facilities to implement read-eval-print loops.") 模块。 ( [`codeop`](codeop.xhtml#module-codeop "codeop: Compile (possibly incomplete) Python code.") 模块是低层级的,用于支持编译可能不完整的 Python 代码块。)
本章描述的完整模块列表如下:
- [`code` --- Interpreter base classes](code.xhtml)
- [Interactive Interpreter Objects](code.xhtml#interactive-interpreter-objects)
- [Interactive Console Objects](code.xhtml#interactive-console-objects)
- [`codeop` --- Compile Python code](codeop.xhtml)
### 导航
- [索引](../genindex.xhtml "总目录")
- [模块](../py-modindex.xhtml "Python 模块索引") |
- [下一页](code.xhtml "code --- Interpreter base classes") |
- [上一页](site.xhtml "site --- Site-specific configuration hook") |
- ![](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 创建。