MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / TqdmProgress

Class TqdmProgress

python/collaboration/examples/upload_everything.py:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112
113
114class TqdmProgress(tqdm):
115 def __init__(self, *args, **kwargs):
116 kwargs['total'] = 100
117 super(TqdmProgress, self).__init__(*args, **kwargs)
118
119 def progress(self, cur, max):
120 new_n = cur / max * self.total
121 self.update(new_n - self.n)
122 return True
123
124
125if __name__ == '__main__':

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected