On Aug 31, 3:45 am, NickC <reply...@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 -- http://mail.python.org/mailman/listinfo/python-list