def estimateBandwidth(self):
        bytes = self.bytes
        self.totalBytes += bytes
        self.estim.append(bytes)
        self.message("%0.2f k/s (%0.2d%%)"
                     % ((sum(self.estim) / len(self.estim)) / 1024.,
                        (self.length / float(self.totalBytes)) * 100))
        if len(self.estim) > self.bufsize:
            self.estim.pop(0)
        self.bytes = 0
dataset/ETHPy150Open twisted/vertex/vertex/q2qclient.py/BandwidthEstimator.estimateBandwidth/swapped operands of `/`