Henry Ludemann wrote:
I had actually written most of this module before I became aware
> of optparse (it was one of those bash the head against the wall
> moments when I found it),
I've been there :)
--
Michael Hoffman
--
http://mail.python.org/mailman/listinfo/python-list
As far as I can tell, your module has one functional advantage over
optparse--it validates arguments as well as options.
Functionality wise, that is probably about it. It is more from a
seperation of command line / functionality code that I wrote this; that
the command line code should be sepera
* The more I think about it, the more I like that you're basically
constructing options to match a function signature. But I can imagine
that this might be too restrictive for some uses. It might be worth
having an alternate interface that provides an options object like
optparse does.
It i
Thanks for the comments...
Steven Bethard wrote:
Looks interesting, but is it really that different from optparse?
In the sense that they both do the same thing, no, not really. But the
way they do it is quite different; optparse bases itself on setting
variables, while this module is for invoking
Henry Ludemann wrote:
I've been writing an optparse alternative (using getopt) that is at a
stage where I'd be interested in people's opinions.
Thanks for the work and letting us see it!
As far as I can tell, your module has one functional advantage over
optparse--it validates argum
Henry Ludemann wrote:
I've been writing an optparse alternative (using getopt) that is at a
stage where I'd be interested in people's opinions.
Some more detailed comments:
* The more I think about it, the more I like that you're basically
constructing options to match a func
Henry Ludemann wrote:
I've been writing an optparse alternative (using getopt) that is at a
stage where I'd be interested in people's opinions.
Looks interesting, but is it really that different from optparse?
I do like the fact that you can specify a type with a conversion
I've been writing an optparse alternative (using getopt) that is at a
stage where I'd be interested in people's opinions. It allows you to
easily creating command line interfaces to existing functions, using
flags (which are optional) and arguments. It will automatically print a
n