Structured programming with optionParser

Michele Simionato michele.simionato at gmail.com
Tue Aug 31 05:23:44 CEST 2010


On Aug 31, 3:45 am, NickC <reply... at works.fine.invalid> wrote:
> I'm struggling to see how you could refactor the option parsing function.
> After all, it has to process the options, so it has to do all the setup
> for those options, and then process them.

Perhaps plac could simplify your life, by removing most of the
boilerplate of
option parsing:  http://pypi.python.org/pypi/plac



More information about the Python-list mailing list