python3.7.3的解释器_自定义 Python 解释器

### 导航

- [索引](../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 创建。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值