from progressbar import BouncingBar,FormatLabel,ProgressBar, RotatingMarker
def progressbar():
widgets = [FormatLabel('Csdn Comment delay 60s: %(value)d/1300-> '),
BouncingBar(marker=RotatingMarker())]
pbar = ProgressBar(widgets=widgets)
for i in pbar((i for i in range(1300))):
time.sleep(0.05)
2021-09-16 10:49:45
5KB
进度条
1