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!
February 3rd, 2007 at 6:58 pm
Next you’ll want to dig up optcomplete; builds bash completion tables automatically for optparse-based programs 🙂