Sunday, May 31, 2009

Python 4


getopt.getopt(args, options[, long_options])

Parses command line options and parameter list. args is the argument list to
be parsed, without the leading reference to the running program. Typically, this
means sys.argv[1:]. options is the string of option letters that the
script wants to recognize, with options that require an argument followed by a
colon
(':'; i.e., the same format that Unix getopt uses).

No comments:

Post a Comment

Google+