1.alive_progress
from alive_progress import alive_bar
import time
with aliver_bar(100) as bar:
for item in range(100):
time.sleep(.1)
bar()
image.png
2.progressbar
import progressbar
import time
p = progressbar.ProgressBar
N = 10
for i in p(range(N)):
time.sleep(0.1)
image.png
网友评论