3 class ProgressBar(object):
\r
4 def __init__(self, full):
\r
10 def print_bar(self, progress):
\r
11 sys.stdout.write("[%s%s] %d%%\r" % ('=' * progress, ' ' * (100 - progress), progress))
\r
16 self.print_bar(int((float(self.count) / float(self.full)) * 100))