python has a good framework for processing command line parameter. I use [``optparse``](http://docs.python.org/2/library/optparse.html), but [``argparse``](http://docs.python.org/2/library/argparse.html) is better going forward as it will be supported in Python 3, while ``optparse`` is deprecated.