[Python-Dev] PEP 389: argparse - new command line parsing module

Oleg Broytman phd at phd.pp.ru
Mon Sep 28 23:51:07 CEST 2009


On Tue, Sep 29, 2009 at 07:44:50AM +1000, Cameron Simpson wrote:
> |     ArgumentParser.add_getopt_arguments(options[, long_options])
> 
> Yes please!
> 
> I'm also very fond of the succinct getopt sequence-of-letters style;
> it works really well for the simple cases.

   The syntax "a:b" is also widely known; people who are often write small
shell scripts are certainly accustomed to it (I am).

> Clarification: this isn't a vote for preferring getopt, it's a vote for
> availability of the sequence-of-letters style.

   +1

Oleg.
-- 
     Oleg Broytman            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list