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

Jon Ribbens jon+python-dev at unequivocal.co.uk
Mon Sep 28 15:03:17 CEST 2009


On Mon, Sep 28, 2009 at 09:38:20AM +0100, Floris Bruynooghe wrote:
> On Mon, Sep 28, 2009 at 06:59:45AM +0300, Yuvgoog Greenle wrote:
> > -1 for deprecating getopt. getopt is super-simple and especially useful for
> > c programmers learning python.
> > 
> > +1 for argparse.+1 for eventual deprecation of optparse - optparse and
> > argparse have a very similar syntax and having both is just
> > confusing. tsboapooowtdi
> 
> +1 on all of this :-)
> 
> It would be a shame to see getopt go but optparse -> argparse seems
> logical.

+1 from me too - keep getopt, deprecate optparse.


More information about the Python-Dev mailing list