tqdm介绍及常用方法 from tqdm import tqdm import time with tqdm(total=100) as pbar: for i in range(10): time.sleep(0.2) pbar.update(10)