Displaying Progress Bar using tqdm
tqdm tells you where your code is running in iteration. As its official web page,
tqdm means “progress” in Arabic (taqadum) and an abbreviation for “I love you so much” in Spanish (te quiero demasiado). Instantly make your loops show a smart progress meter - just wrap any iterable with tqdm(iterable), and you’re done!
simply use pip for lastest PyPI stable release or Lastest development release on github
tqdm is very versatile and can be used in a number of ways. The three main ones are given below.