25. 程式框架¶
The modules described in this chapter are frameworks that will largely dictate the structure of your program. Currently the modules described here are all oriented toward writing command-line interfaces.
The full list of modules described in this chapter is:
- 25.1.
turtle
— 龜圖學- 25.1.1. 介紹
- 25.1.2. Overview of available Turtle and Screen methods
- 25.1.3. Methods of RawTurtle/Turtle and corresponding functions
- 25.1.4. Methods of TurtleScreen/Screen and corresponding functions
- 25.1.5. Public classes
- 25.1.6. Help and configuration
- 25.1.7.
turtledemo
— Demo scripts - 25.1.8. Changes since Python 2.6
- 25.1.9. Changes since Python 3.0
- 25.2.
cmd
— Support for line-oriented command interpreters - 25.3.
shlex
— Simple lexical analysis