Re: Positional arguments parsing

Greg Ward <[email protected]> Sat, 22 Apr 2006 22:38:41 -0400
Newsgroups gmane.comp.python.optik.user
Message-ID <[email protected]>
On 22 April 2006, Diogo Kollross said:
> I've made a module for positional arguments parsing, based on optparse:
> 
>   http://geocities.com/diogok_br/posparse/

Cool!

> I wonder if a similar feature is planned for Optik.

Yeah, every so often I wish Optik did this.  Have never really sat down
and figured out the right design, though.  I took a quick look at what
you have done, and I think I would prefer something more tightly
integrated into OptionParser -- I'd like to do option parsing and
positional arg parsing with single parse_args() call.  (After all, it's
parse_args(), not parse_opts()!)

I'll go read your code carefully, but *not* until I have checked Optik
1.5.1 into Python's svn tree to get into 2.5a2!

        Greg
-- 
Greg Ward <[email protected]>                         http://www.gerg.ca/
Earn cash in your spare time -- blackmail your friends!


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642