+ 1
Feedback on my module?
import time import sys def LoadProgress(progress): for x in range(progress + 1): prog = "#" * x space = progress - len(prog) nullspace = " " * space percent = 100 * float(x) / float(progress) sys.stdout.write('\r' + "Progress: " + "[" + prog + nullspace + "] " + str(int(percent)) + "%") x = x - 1 time.sleep(1) Github repo: https://github.com/Hampusm/JUMP_LINK__&&__Python__&&__JUMP_LINK-Progress-Bar
1 Respuesta
+ 1
Nice code....I like it