Structured programming with optionParser

Michele Simionato michele.simionato at gmail.com
Mon Aug 30 23:23:44 EDT 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