> Walter> Maybe this script should use optparse instead of getopt? > > How would optparse be better than getopt, especially for simple use > such as this? Optparse is *always* better than getopt, once you're used to it. Even for a single option it's usually fewer lines of code. --Guido van Rossum (home page: http://www.python.org/~guido/)