A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-January/042256.html below:

[Python-Dev] Hotshot

[Python-Dev] Hotshot [Python-Dev] HotshotGuido van Rossum guido at python.org
Mon Jan 26 11:55:45 EST 2004
>     >> How would optparse be better than getopt, especially for
>     >> simple use such as this?
> 
>     Guido> Optparse is *always* better than getopt, once you're used
>     Guido> to it.  Even for a single option it's usually fewer lines
>     Guido> of code.
> 
> Is this a pronouncement?  A quick grep suggests that so far only
> Tools/scripts/diff.py uses optparse.

It's not a pronouncement -- it's just a recommendation.  I see no need
to start converting existing code to optparse -- but for all new code,
I recommend it.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4