[getopt-sig] Re: [Python-Dev] Adopting Optik

Guido van Rossum guido@python.org
Thu, 14 Nov 2002 08:15:38 -0500

In the choice between optlib and argvparse, argvparse wins by a
landslide.  But I came up with a better one: optparse!  This addresses
the argument by several Davids that argv is obscure to newbies.  I
think it doesn't sound like optimization like optlib does.

optparse also seems to be what Ruby uses (it even has an OptionParser
class :-), and I found an optparse.tcl on the net too.

I also note that the recommended rhythm looks better as

  from optparse import OptionParser

than as

  from argvparse import OptionParser

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