from tqdm import tqdm for x in tqdm(my_list): # do something with x #### In case using with enumerate: for i, x in enumerate( tqdm(my_list) ): # do something with i and x