📜  tqdm 2 进度条 - Python 代码示例

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

代码示例1
from tqdm import tqdm
# from tqdm.auto import tqdm  # notebook compatible
import time
for i1 in tqdm(range(5)):
    for i2 in tqdm(range(300), leave=False):
        # do something, e.g. sleep
        time.sleep(0.01)