optparse module

Wow, I’d never used the optparse module before. That’s pretty damn cool. (And to think I came close to writing my own option parser for a bit before I looked up the documentation.) The automatic addition of –help output is super-cool too. I definitely need to start using this in more of my code.

Hooray for Python!

One Response to “optparse module”

  1. Mark Eichin Says:

    Next you’ll want to dig up optcomplete; builds bash completion tables automatically for optparse-based programs 🙂