Why use argparse rather than optparse?

Python argparse ignore unrecognised arguments

How to read/process command line arguments?