from tqdm import tqdm x = [5]*1000 for _ in tqdm(x, desc="Example"): pass Example: 100%|██████████████████████████████████| 1000/1000 [00:00<00:00, 1838800.53it/s]