published on

python optparse

okay, so optparse is definitely something that I should’ve run across ages ago, but for some dumb reason, I hadn’t yet. It’s so much better than getopts, that it hurts my brain.

it behaves much more like a getopt wrapper that i wrote a few weeks ago for work, and is just so freaking pythonic.

use this! use only this!!

update (Wed 24 Jul 2013 23:29:06 PDT): now use argparse