Arg decoding with a template?

Alex Martelli aleaxit at yahoo.com
Tue Jul 31 12:22:29 EDT 2001


"Dale Strickland-Clark" <dale at riverhall.NOSPAMco.uk> wrote in message
news:ljidmtouqj6som2t9ecagbkj95c53kjaeh at 4ax.com...
> Is there a class that simplifies high-level argument decoding under the
control of a template?
>
> Such a class would take a string as a template and the arg list and return
another list populated
> with keys, values and switches taken from the args.
>
> I've spent the last hour going through the global module list. If it's
there, its got a daft name!

You mean, standard module getopt?  That's pretty much a
traditional name I think, although getopt's functionality
is rather minimal compared with other implementations.


Alex






More information about the Python-list mailing list