依赖tqdm包

安装:

sudo pip install tqdm

>>> import time
>>> from tqdm import tqdm
>>> for i in tqdm(range(100)):
...     time.sleep(0.1)

posted on 2018-05-04 10:01  Go_Forward  阅读(311)  评论(0编辑  收藏  举报