Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #sencillo progress para consola
- def progressbar(self, value, total):
- maspro = (100*value) / total
- sys.stdout.write('\r[%s]%d%%' % ('#'*(maspro/10), maspro))
- sys.stdout.flush()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement