getopt: where's da dicts?????
Ivan Van Laningham
ivanlan at callware.com
Mon Oct 18 13:14:42 EDT 1999
Hi All--
Les Schaffer wrote:
>
> just started using the getopt module. i was surprised to see it
> returns the options in list format rather than perl's (better)
> dictionary format.
>
> i thought i read on c.l.p many moons ago about someone who had written
> an add-on to getopt to return a dict of options a la perl. but i found
> nothing in deja news for this.
>
> anyone have a pointer to such solution (before i implement it myself),
> i'd do something like this:
>
Try my getargs module. It's available at:
http://www.pauahtun.org/ftp.html
Near the bottom of the page (getargspy.zip).
It's fairly well documented, too.
Take care,
Ivan
----------------------------------------------
Ivan Van Laningham
Callware Technologies, Inc.
ivanlan at callware.com
ivanlan at home.com
http://www.pauahtun.org
See also:
http://www.foretec.com/python/workshops/1998-11/proceedings.html
Army Signal Corps: Cu Chi, Class of '70
----------------------------------------------
More information about the Python-list
mailing list