[stdlib-sig] Pyopt - command-line options that are alot easier than optparse

Barry Warsaw barry at python.org
Thu Sep 10 15:05:28 CEST 2009


On Sep 10, 2009, at 5:21 AM, Michael Foord wrote:

> *Personally* I would like to see argparse in the standard library as  
> I think it is currently the best Python argument parsing library,  
> but that is just my opinion. As we already have two argument parsing  
> libraries in the standard library (getopt and optparse) the addition  
> of a third for the *same* task is highly unlikely.

Huge +1 for argparse.  It exists, seems rock solid, easy to use  
(amazing for an argument parsing library), supports subcommands  
easily, is easy to port from optparse usage, and just full of  
awesomeness.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/stdlib-sig/attachments/20090910/bb454574/attachment.pgp>


More information about the stdlib-sig mailing list