Progress bars in python

2016-09-28 python

tqdm is a nice way to add progress bars in the command line or in a jupyter notebook.

1
2
3
4
5
from tqdm import tqdm
import time

for i in tqdm(range(100)):
    time.sleep(1)