def run(self):
        try:
            try:
                while 1:
                    line = raw_input("> ")
                    self._sock.send(line)
                    data = self._sock.recv(1024)
                    if not data:
                        break
                    else:
                        print data
            except __HOLE__:
                pass
        finally:
            self._sock.close()
dataset/ETHPy150Open kdart/pycopia/net/pycopia/simpleserver.py/GenericClient.run