plac, the easiest command line arguments parser in the world
Michele Simionato
michele.simionato at gmail.com
Wed Jun 2 04:49:18 EDT 2010
On Jun 2, 10:43 am, Paul Rubin <no.em... at nospam.invalid> wrote:
> Tim Golden <m... at timgolden.me.uk> writes:
> > pattern, which provides a minimally semi-self-documenting
> > approach for positional args, but I've always found the existing
> > offerings just a little too much work to bother with.
> > I'll give plac a run and see how it behaves.
>
> After using optparse a couple of times I got the hang of it. Maybe its
> docs could be organized a bit better, but it does the obvious things
> conveniently once you've figured it out a bit.
Notice that optparse is basically useless in the use case Tim is
considering (positional arguments) since it only manages options.
More information about the Python-list
mailing list