optparse — Parser for command line options Source code: Lib/optparse.py Deprecated since version 3.2: The optparse module is deprecated and will not be developed further; development will continue with the argparse module.