安装:

pip install tqdm
使用:
from tqdm import tqdm
import time
for i in tqdm(rang(10)):
time.sleep(0.1)