Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)
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...)

src/e/x/execnet-1.2.0/doc/example/sysinfo.py   execnet(Download)
parser = py.std.optparse.OptionParser(usage=__doc__)
parser.add_option("-f", "--sshconfig", action="store", dest="ssh_config", default=None,
                  help="use given ssh config file, and add info all contained hosts for getting info")

src/p/y/pycmd-1.0/pycmd/pysvnwcrevert.py   pycmd(Download)
# XXX add a functional test
parser = py.std.optparse.OptionParser(usage=__doc__)
parser.add_option("-p", "--precious",
                  action="append", dest="precious", default=[],

src/p/y/pycmd-1.0/pycmd/pylookup.py   pycmd(Download)
    return p.check(dotfile=0)
parser = py.std.optparse.OptionParser(usage=__doc__)
parser.add_option("-i", "--ignore-case", action="store_true", dest="ignorecase",
                  help="ignore case distinctions")

src/p/y/pycmd-1.0/pycmd/pycountloc.py   pycmd(Download)
def main():
    parser = py.std.optparse.OptionParser(usage=__doc__)
    (options, args) = parser.parse_args()

src/p/y/pycmd-1.0/pycmd/pycleanup.py   pycmd(Download)
def main():
    parser = py.std.optparse.OptionParser(usage=__doc__)
    parser.add_option("-e", metavar="ENDING",
        dest="endings", default=[".pyc", "$py.class"], action="append",
        help=("(multi) recursively remove files with the given ending."

src/p/y/pycmd-1.0/pycmd/pyconvert_unittest.py   pycmd(Download)
    usage = "usage: %prog [-s [filename ...] | [-i | -c filename ...]]"
    optparser = py.std.optparse.OptionParser(usage)
    def select_output (option, opt, value, optparser, **kw):