1 | 2  Next
All Samples(11801)  |  Call(7142)  |  Derive(298)  |  Import(4361)
Class attributes:
  standard_option_list : [Option]
    list of standard options that will be accepted by all instances
    of this parser class (intended to be overridden by subclasses).

Instance attributes:
  usage : string
    a usage string for your program.  Before it is displayed
    to the user, "%prog" will be expanded to the name of
    your program (self.prog or os.path.basename(sys.argv[0])).(more...)

All Samples(4216)  |  Call(3342)  |  Derive(0)  |  Import(874)
Instance attributes:
  _short_opts : [string]
  _long_opts : [string]

  action : string
  type : string
  dest : string
  default : any
  nargs : int
  const : any(more...)


All Samples(638)  |  Call(339)  |  Derive(191)  |  Import(108)
Instance attributes:
  _short_opts : [string]
  _long_opts : [string]

  action : string
  type : string
  dest : string
  default : any
  nargs : int
  const : any(more...)

All Samples(38)  |  Call(0)  |  Derive(0)  |  Import(38)
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

All Samples(360)  |  Call(260)  |  Derive(0)  |  Import(100)
Raised if an invalid option value is encountered on the command
line.

All Samples(206)  |  Call(121)  |  Derive(20)  |  Import(65)
No Document.

All Samples(74)  |  Call(0)  |  Derive(0)  |  Import(74)
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

All Samples(217)  |  Call(186)  |  Derive(0)  |  Import(31)
No Document.

All Samples(134)  |  Call(27)  |  Derive(54)  |  Import(53)
Format help with indented section bodies.
    

All Samples(131)  |  Call(75)  |  Derive(6)  |  Import(50)
Format help with underlined section headers.
    

All Samples(40)  |  Call(0)  |  Derive(21)  |  Import(19)
Abstract base class for formatting option help.  OptionParser
instances should use one of the HelpFormatter subclasses for
formatting help; by default IndentedHelpFormatter is used.

Instance attributes:
  parser : OptionParser
    the controlling OptionParser instance
  indent_increment : int
    the number of columns to indent per nesting level
  max_help_position : int(more...)

All Samples(94)  |  Call(47)  |  Derive(0)  |  Import(47)
_match_abbrev(s : string, wordmap : {string : Option}) -> string

Return the string key in 'wordmap' for which 's' is an unambiguous
abbreviation.  If 's' is found to be ambiguous or doesn't match any of
'words', raise BadOptionError.

All Samples(83)  |  Call(26)  |  Derive(3)  |  Import(54)
Raised if an Option instance is created with invalid or
inconsistent arguments.

All Samples(62)  |  Call(6)  |  Derive(0)  |  Import(56)
Raised if conflicting options are added to an OptionParser.

All Samples(27)  |  Call(0)  |  Derive(0)  |  Import(27)
tuple() -> empty tuple
tuple(iterable) -> tuple initialized from iterable's items

If the argument is a tuple, the return value is the same object.

All Samples(55)  |  Call(7)  |  Derive(0)  |  Import(48)
Raised if an invalid option is seen on the command line.

All Samples(34)  |  Call(0)  |  Derive(0)  |  Import(34)
Abstract base class.

Class attributes:
  standard_option_list : [Option]
    list of standard options that will be accepted by all instances
    of this parser class (intended to be overridden by subclasses).

Instance attributes:
  option_list : [Option]
    the list of Option objects contained by this OptionContainer(more...)


All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
No Document.

  1 | 2  Next