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/1999-September/001042.html below:

[Python-Dev] getopt helper?

[Python-Dev] getopt helper? [Python-Dev] getopt helper?Fredrik Lundh fredrik@pythonware.com
Thu, 30 Sep 1999 16:18:15 +0200
> I personally liked the idea of getoptex() best, except I would call it 
> getopt_or_die().  If the usage message is omitted it can synthesize
> one from the (short and long) options arguments and sys.argv[0] (the
> latter being a bit controversial, but it's just a default).
> 
> Hmm...  Perhaps getopt_or_die() shouldn't take the args argument but
> extract sys.argv[1:] itself?

sounds reasonable.  what are you waiting for ;-)

</F>




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