python show progress bar

Depends on the tqdm package

Install:

sudo pip install tqdm

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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325245249&siteId=291194637