getopt

Standard library module View source
class GetoptError
class GetoptError
Fields 2
opt Any
msg Any
Constructors 1
__init__
__init__(self, msg: str, opt: str = "")
Properties 1
args
@property
args(self)
Special methods 1
__str__
__str__(self)
function getopt
getopt(args: List[str], shortopts: str, longopts: List[str] = List[str]())
@overload
getopt(args: List[str], shortopts: str, longopts: str)
function gnu_getopt
gnu_getopt(args: List[str], shortopts: str, longopts: List[str] = List[str]())
@overload
gnu_getopt(args: List[str], shortopts: str, longopts: str)