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

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/x/p/xp3dumper-HEAD/ui/xp3start.py   xp3dumper(Download)
        req.expAddr = addr
        self.socket.send(req.SerializeToString())
        res.ParseFromString(self.recv())
        self.log("set exporter addr [retval:%d]" % res.retVal)
        # for debug
        self.socket.send(req.SerializeToString())
        res = xp3proto_pb2.Response()
        res.ParseFromString(self.recv())
        addr = res.expAddr
        self.log("addr get")
        self.socket.send(req.SerializeToString())
        res = xp3proto_pb2.Response()
        res.ParseFromString(self.socket.recv())
        if res.retVal == 0:
            self.log("dump file list [%s] success" % fileName)
            self.socket.send(req.SerializeToString())
            res = xp3proto_pb2.Response()
            res.ParseFromString(self.recv())
            self.log("load png dll [dll:%s][%s]" % (req.pngPluginPath, res.description))