Any interest in a getoption.py?

Bob Hepple bob_hepple at yahoo.com
Sun Feb 23 18:32:35 EST 2003


Rene Pijlman <reageer.in at de.nieuwsgroep> wrote in message news:<plch5vs4qaquid06u9icj1bh0nldt3l3lh at 4ax.com>...
> Bob Hepple:
> >Well, I wrote an equivalent of getoption for python. It does more or
> >less what popt does, but it's not specific to linux, it's in pure
> >python and I can put it out on whatever license.
>  [...]
> >Is there any interest?
> 
> Are you aware of the new optparse module in 2.3?
> http://www.python.org/doc/2.3a1/whatsnew/node15.html#SECTION0001510000000000000000

No - I was not aware of that. Thanks. It looks pretty close to what I
have done although it doesn't go quite as far eg. printing of man &
docbook pages and output of code to process the options. Also I guess
many of us are still at python 1.5 and not 2.3!

Because of these limitiations I might stick with what I've got
although the case for publishing and public maintainance is somewhat
reduced.

I will try to track down and join the getoption SIG that is mentioned
there.

Cheers


Bob




More information about the Python-list mailing list