The argparse module includes tools for building command line argument and option processors. It was added to Python 2.7 as a replacement for optparse . The implementation of argparse supports features that would not have been easy to add to optparse , and that would have required backwards-incompatible API changes, so a new module was … Continue reading argparse — Command-Line Option and Argument Parsing — PyMOTW 3
↧