Python Cookbook: Parsing the command line (via) Using optparse, but with the command line setup options stored in the program’s docstring.
Python Cookbook: Parsing the command line (via) Using optparse, but with the command line setup options stored in the program’s docstring.