上传者: lsj8924
|
上传时间: 2021-09-16 10:49:45
|
文件大小: 5KB
|
文件类型: PY
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)