+ 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

27th Jun 2018, 12:31 AM
Hampus Mathiesen
Hampus Mathiesen - avatar
1 Respuesta
+ 1
Nice code....I like it
30th Jun 2018, 5:24 PM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar