Did I find the right examples for you? yes no

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/m/i/microlathe-HEAD/src/gdb.py   microlathe(Download)
        server.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR,
                          server.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR) | 1)
        server.bind((config.GDB_HOST, config.GDB_PORT))
        server.listen(1)
        print 'Hosting GDB server on {}:{}'.format(*self.server.getsockname())