getopt: Make argument mandatory
fredrik at pythonware.com
Wed Dec 15 15:09:27 CET 2004
Frans Englich wrote:
> In my use of getopt.getopt, I would like to make a certain parameter
but you just did:
> if configurationFile == "":
> print "You must pass an URL/path to a configuration file, see
> Is it possible?
afaik, getopt doesn't have any built-in validation features; Python's got
more than enough of them already...
More information about the Python-list