企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
### 导航 - [索引](../genindex.xhtml "总目录") - [模块](../py-modindex.xhtml "Python 模块索引") | - [下一页](turtle.xhtml "turtle --- 海龟绘图") | - [上一页](locale.xhtml "locale --- 国际化服务") | - ![](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); | # 程序框架 本章中描述的模块是很大程度上决定程序结构的框架。 目前,这里描述的模块都面向编写命令行接口。 本章描述的完整模块列表如下: - [`turtle` --- 海龟绘图](turtle.xhtml) - [概述](turtle.xhtml#introduction) - [可用的 Turtle 和 Screen 方法概览](turtle.xhtml#overview-of-available-turtle-and-screen-methods) - [Turtle 方法](turtle.xhtml#turtle-methods) - [TurtleScreen/Screen 方法](turtle.xhtml#methods-of-turtlescreen-screen) - [RawTurtle/Turtle 方法和对应函数](turtle.xhtml#methods-of-rawturtle-turtle-and-corresponding-functions) - [海龟动作](turtle.xhtml#turtle-motion) - [获取海龟的状态](turtle.xhtml#tell-turtle-s-state) - [度量单位设置](turtle.xhtml#settings-for-measurement) - [画笔控制](turtle.xhtml#pen-control) - [绘图状态](turtle.xhtml#drawing-state) - [颜色控制](turtle.xhtml#color-control) - [填充](turtle.xhtml#filling) - [更多绘图控制](turtle.xhtml#more-drawing-control) - [海龟状态](turtle.xhtml#turtle-state) - [可见性](turtle.xhtml#visibility) - [外观](turtle.xhtml#appearance) - [使用事件](turtle.xhtml#using-events) - [特殊海龟方法](turtle.xhtml#special-turtle-methods) - [复合形状](turtle.xhtml#compound-shapes) - [TurtleScreen/Screen 方法及对应函数](turtle.xhtml#methods-of-turtlescreen-screen-and-corresponding-functions) - [窗口控制](turtle.xhtml#window-control) - [动画控制](turtle.xhtml#animation-control) - [使用屏幕事件](turtle.xhtml#using-screen-events) - [输入方法](turtle.xhtml#input-methods) - [设置与特殊方法](turtle.xhtml#settings-and-special-methods) - [Screen 专有方法, 而非继承自 TurtleScreen](turtle.xhtml#methods-specific-to-screen-not-inherited-from-turtlescreen) - [公共类](turtle.xhtml#public-classes) - [帮助与配置](turtle.xhtml#help-and-configuration) - [如何使用帮助](turtle.xhtml#how-to-use-help) - [文档字符串翻译为不同的语言](turtle.xhtml#translation-of-docstrings-into-different-languages) - [如何配置 Screen 和 Turtle](turtle.xhtml#how-to-configure-screen-and-turtles) - [`turtledemo` --- 演示脚本集](turtle.xhtml#module-turtledemo) - [Python 2.6 之后的变化](turtle.xhtml#changes-since-python-2-6) - [Python 3.0 之后的变化](turtle.xhtml#changes-since-python-3-0) - [`cmd` --- 支持面向行的命令解释器](cmd.xhtml) - [Cmd Objects](cmd.xhtml#cmd-objects) - [Cmd Example](cmd.xhtml#cmd-example) - [`shlex` --- Simple lexical analysis](shlex.xhtml) - [shlex Objects](shlex.xhtml#shlex-objects) - [Parsing Rules](shlex.xhtml#parsing-rules) - [Improved Compatibility with Shells](shlex.xhtml#improved-compatibility-with-shells) ### 导航 - [索引](../genindex.xhtml "总目录") - [模块](../py-modindex.xhtml "Python 模块索引") | - [下一页](turtle.xhtml "turtle --- 海龟绘图") | - [上一页](locale.xhtml "locale --- 国际化服务") | - ![](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 创建。