23. 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:
- 23.1.
cmd— Support for line-oriented command interpreters - 23.2.
shlex— Simple lexical analysissplit()shlex- 23.2.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.eof
- 23.2.2. Parsing Rules
