36. Superseded Modules¶
The modules described in this chapter are deprecated and only kept for backwards compatibility. They have been superseded by other modules.
- 36.1.
optparse
— Parser for command line options- 36.1.1. Background
- 36.1.2. Tutorial
- 36.1.3. Reference Guide
- 36.1.3.1. Creating the parser
- 36.1.3.2. Populating the parser
- 36.1.3.3. Defining options
- 36.1.3.4. Option attributes
- 36.1.3.5. Standard option actions
- 36.1.3.6. Standard option types
- 36.1.3.7. Parsing arguments
- 36.1.3.8. Querying and manipulating your option parser
- 36.1.3.9. Conflicts between options
- 36.1.3.10. Cleanup
- 36.1.3.11. Other methods
- 36.1.4. Option Callbacks
- 36.1.4.1. Defining a callback option
- 36.1.4.2. How callbacks are called
- 36.1.4.3. Raising errors in a callback
- 36.1.4.4. Callback example 1: trivial callback
- 36.1.4.5. Callback example 2: check option order
- 36.1.4.6. Callback example 3: check option order (generalized)
- 36.1.4.7. Callback example 4: check arbitrary condition
- 36.1.4.8. Callback example 5: fixed arguments
- 36.1.4.9. Callback example 6: variable arguments
- 36.1.5. Extending
optparse
- 36.2.
imp
— Access theimport
internals