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

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

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

src/p/y/PyRQ-0.4.1/PyRQ/Core/QueueServer/BootQueueServer.py   PyRQ(Download)
    #    For the ack:
    parser.add_option("-x", "--%(OAH)s"%{"OAH":QueueServerOptions.ACKHOST}, action="store", dest="ackHost", type="str", 
        metavar="ACK_HOST", default="%(DHA)s"%{"DHA":QueueServer.DEFAULT_HOST}, help="specify"
        "a host to send our server details to. Default is '%(DHA)s'"%{"DHA":QueueServer.DEFAULT_HOST})
    parser.add_option("-y", "--%(OAP)s"%{"OAP":QueueServerOptions.ACKPORT}, action="store", dest="ackPort", type="int", 
        "TCP listener port. Default is '%(P)d'"%{"P":QueueServer.DEFAULT_PORT})
    parser.add_option("-b", "--%(H)s"%{"H":QueueServerOptions.HOST}, action="store", dest="host", type="str", 
        metavar="HOST", default="%(DHA)s"%{"DHA":QueueServer.DEFAULT_HOST}, help="specify a different "
        "host to bind to. Default is '%(DHA)s'"%{"DHA":QueueServer.DEFAULT_HOST})
    parser.add_option("--%(H)s"%{"H":QueueServerOptions.MARSHALLER_TYPE}, action="store", dest="marshallerType", type="int",