optparse TypeError

Ben Finney ben+python at benfinney.id.au
Mon Jun 28 15:56:28 EDT 2010


Michele Simionato <michele.simionato at gmail.com> writes:

> optparse is so old-fashioned. Use plac!

The OP should be made aware that:

* plac is a third-party library with (TTBOMK) no prospect of inclusion
  in the standard library

* optparse is in the standard library and has been for many versions

* argparse is a third-party library that is now accepted for inclusion
  in the standard library, intended as a full optparse replacement
  <URL:http://www.python.org/dev/peps/pep-0389/>

Choose accordingly.

-- 
 \       “If consumers even know there's a DRM, what it is, and how it |
  `\     works, we've already failed.” —Peter Lee, Disney corporation, |
_o__)                                                             2005 |
Ben Finney



More information about the Python-list mailing list