from time import sleep from tqdm import tqdm for i in tqdm(range(10)): sleep(3) #60%|██████ | 6/10 [00:18<00:12, 0.33 it/s] #Also, there is a notebook version: from tqdm.notebook import tqdm for i in tqdm(range(100)): sleep(3)