📜  进度条 python 文本 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:22.181000             🧑  作者: Mango

代码示例2
from tqdm import trange
from time import sleep
t = trange(100, desc='Bar desc', leave=True)
for i in t:
    t.set_description("Bar desc (file %i)" % i) # add dynamic bar description
    t.refresh() # to show immediately the update
    sleep(0.01)