24. Program Frameworks
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:
- 24.1.
turtle— Turtle graphics- 24.1.1. Introduction
- 24.1.2. Overview of available Turtle and Screen methods
- 24.1.3. Methods of RawTurtle/Turtle and corresponding functions
- 24.1.4. Methods of TurtleScreen/Screen and corresponding functions
- 24.1.5. Public classes
- 24.1.6. Help and configuration
- 24.1.7.
turtledemo— Demo scripts - 24.1.8. Changes since Python 2.6
- 24.1.9. Changes since Python 3.0
- 24.2.
cmd— Support for line-oriented command interpreters - 24.3.
shlex— Simple lexical analysissplit()quote()shlex- 24.3.1. shlex Objects
shlex.get_token()shlex.push_token()shlex.read_token()shlex.sourcehook()shlex.push_source()shlex.pop_source()shlex.error_leader()shlex.commentersshlex.wordcharsshlex.whitespaceshlex.escapeshlex.quotesshlex.escapedquotesshlex.whitespace_splitshlex.infileshlex.instreamshlex.sourceshlex.debugshlex.linenoshlex.tokenshlex.eofshlex.punctuation_chars
- 24.3.2. Parsing Rules
- 24.3.3. Improved Compatibility with Shells
