fancy_getopt.py - Command line parsing machinery.