How to display a progress bar in Python / Jupyter Notebook

Nicola Gheza
1 min readJan 18, 2020

Working a lot with AI and Machine Learning, it happens a lot that I need to run code that takes a lot of time to run.
One thing that I always like to use in this situation is a package called tqdm.

To install it, fire up your terminal or command prompt and type:

pip install tqdm

When the package has been installed, it can be used to show the progress of a loop using a progress bar.

This image is taken from https://tqdm.github.io/

For more info on more advanced methods such as Keras Callback, check out the package documentation which is very well written and full of examples.

--

--