getopt |
Module getopt -- Parser for command line options.
This module helps scripts to parse the command line arguments in
sys.argv. It supports the same conventions as the Unix getopt()
function (including the special meanings of arguments of the form `-'
and `--'). Long options similar to those supported by GNU software
may be used as well via an optional third argument. This module
provides a single function and an exception:
getopt() -- Parse command line options
error -- Exception (string) raised when bad options are found
Modules | ||||||
|
Functions | ||
|