| distutils.fancy_getopt | index /usr/lib/python2.1/distutils/fancy_getopt.py |
distutils.fancy_getopt
Wrapper around the standard getopt module that provides the following
additional features:
* short and long options are tied together
* options have help strings, so fancy_getopt could potentially
create a complete usage summary
* options set attributes of a passed-in object
| Modules | ||||||
| ||||||
| Classes | ||||||||||||||||||
| ||||||||||||||||||
| Functions | ||
| ||
| Data | ||
| BufferType = <type 'buffer'> BuiltinFunctionType = <type 'builtin_function_or_method'> BuiltinMethodType = <type 'builtin_function_or_method'> ClassType = <type 'class'> CodeType = <type 'code'> ComplexType = <type 'complex'> DictType = <type 'dictionary'> DictionaryType = <type 'dictionary'> EllipsisType = <type 'ellipsis'> FileType = <type 'file'> FloatType = <type 'float'> FrameType = <type 'frame'> FunctionType = <type 'function'> InstanceType = <type 'instance'> IntType = <type 'int'> LambdaType = <type 'function'> ListType = <type 'list'> LongType = <type 'long int'> MethodType = <type 'instance method'> ModuleType = <type 'module'> NoneType = <type 'None'> SliceType = <type 'slice'> StringType = <type 'string'> TracebackType = <type 'traceback'> TupleType = <type 'tuple'> TypeType = <type 'type'> UnboundMethodType = <type 'instance method'> UnicodeType = <type 'unicode'> WS_TRANS = '\x00\x01\x02\x03\x04\x05\x06\x07\x08 \x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./...\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff' XRangeType = <type 'xrange'> __file__ = '/usr/lib/python2.1/distutils/fancy_getopt.pyc' __name__ = 'distutils.fancy_getopt' __revision__ = '$Id: fancy_getopt.py,v 1.18 2000/09/26 02:06:03 gward Exp $' _option_order = None longopt_pat = '[a-zA-Z](?:[a-zA-Z0-9-]*)' longopt_re = <SRE_Pattern object> longopt_xlate = '\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,_./...\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff' neg_alias_re = <SRE_Pattern object> | ||