Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Reticulator(object):
- def __init__(self, n):
- self.n = n
- self.i = 0
- def tick(self):
- self.i += 1
- if (self.i - 1) % 100 == 0 or self.i + 1 >= self.n:
- sys.stderr.write('[{}/{}]\r'.format(self.i, self.n))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement