[Python-ideas] Options parsing in the Tornado Web Server

Eric Smith eric at trueblade.com
Fri Sep 11 11:10:22 CEST 2009


Eric Smith wrote:
> Nick Coghlan wrote:
>> Anyone wanting to replace/compete with optparse (particularly with goals
>> for latter standard library inclusion) would do well to better
>> articulate what they don't like about optparse though. I acknowledge
>> that using optparse the first couple of times can have something of a
>> learning curve, but that's because it is rather powerful.
> 
> Note that argparse does provide that justification:
> http://argparse.googlecode.com/svn/trunk/doc/argparse-vs-optparse.html
> 
> In particular:
> http://argparse.googlecode.com/svn/trunk/doc/argparse-vs-optparse.html#upgrading-optparse-code 
> 
> has a short blurb on why Steven didn't just extend optparse. He tried 
> to, but decided it was easier if he didn't.

And I notice now that this has already been posted to stdlib-sig, which 
I've joined. I'll continue this over there.



More information about the Python-ideas mailing list