50
15.5.4.2. How callbacks are called
15.5.4.3. Raising errors in a callback
15.5.4.4. Callback example 1: trivial callback
15.5.4.5. Callback example 2: check option order
15.5.4.6. Callback example 3: check option order (generalized)
15.5.4.7. Callback example 4: check arbitrary condition
15.5.4.8. Callback example 5: fixed arguments
15.5.4.9. Callback example 6: variable arguments
15.5.5. Extending
optparse
15.5.5.1. Adding new types
15.5.5.2. Adding new actions
15.6.
getopt
— C-style parser for command line options
15.7.
logging
— Logging facility for Python
15.7.1. Logger Objects
15.7.2. Handler Objects
15.7.3. Formatter Objects
15.7.4. Filter Objects
15.7.5. LogRecord Objects
15.7.6. LogRecord attributes
15.7.7. LoggerAdapter Objects
15.7.8. Thread Safety
15.7.9. Module-Level Functions
15.7.10. Integration with the warnings module
15.8.
logging.config
— Logging configuration
15.8.1. Configuration functions
15.8.2. Configuration dictionary schema
15.8.2.1. Dictionary Schema Details
15.8.2.2. Incremental Configuration
15.8.2.3. Object connections
15.8.2.4. User-defined objects
15.8.2.5. Access to external objects
15.8.2.6. Access to internal objects
15.8.2.7. Import resolution and custom importers
15.8.3. Configuration file format
15.9.
logging.handlers
— Logging handlers
15.9.1. StreamHandler
15.9.2. FileHandler
15.9.3. NullHandler
15.9.4. WatchedFileHandler
15.9.5. RotatingFileHandler
15.9.6. TimedRotatingFileHandler