import sys def update_progress(iteration, total): percent = int(iteration * 100.0 / total) sys.stdout.write( "\r[ {0:<51} ] {1}% ~{2}".format( '#' * (percent / 2), percent, iteration ) )
New comment
No comments:
Post a Comment
New comment