Arg decoding with a template?

David Bolen db3l at fitlinxx.com
Thu Aug 2 19:37:16 EDT 2001


hjwidmaier at web.de (Hans-Joachim Widmaier) writes:

> Well, I did this long before I've heard of GNU and even before our
> BDFL started working on a new language called "Python." The C library
> getopt() just didn't do all I wanted (allow options after arguments
> [this is on thing I really dislike about python's getopt -- it doesn't
> allow that; (...)

Of course, the negative consequence is the inability for such an
application to take normal (non-optional) arguments that happen to
start with an option character, or the option parsing has to provide a
way to quote such an occurrence.

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list