positional arguments left out it the cold

John Belmonte <[email protected]> Sun, 16 Feb 2003 11:58:55 -0500
Newsgroups gmane.comp.python.optik.user
Message-ID <[email protected]>
Hello,

After using OptionParser for a while, I'm starting to wonder about 
something.  Why can't all of its features be applied to positional 
arguments just as well as options?  I have the same need for type 
checking, storage into a variable, callbacks, etc. with positional 
arguments as I do with options.

Why not rename the class to ArgumentParser and extend it to support 
positional args as it does options?

-John Belmonte



-- 
http:// if   l .   /



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge