title: Why use argparse rather than optparse?
body: <p>I noticed that the Python 2.7 documentation includes yet another command-line parsing module.  In addition to <code>getopt</code> and <code>optparse</code> we now have <code>argparse</code>.</p>
  
  <p>Why has yet another command-line parsing module been created?  Why should I use it instead of <code>optparse</code>?  Are there new features that I should know about?</p>