Progress bar
🔸tqdm is a Python library that allows you to output a smart progress bar by wrapping around any iterable. A tqdm progress bar not only shows you how much time has elapsed, but also shows the estimated time remaining for the iterable.
⚙️Installation
🔗Github
#progressbar #tqdm
🔸tqdm is a Python library that allows you to output a smart progress bar by wrapping around any iterable. A tqdm progress bar not only shows you how much time has elapsed, but also shows the estimated time remaining for the iterable.
⚙️Installation
pip install tqdm
To start using tqdm you just need to wrap the tqdm()
function around the iterable, which will generate a progress bar while our for-loop is running. We can also assign a name to the progress bar using the desc
keyword argument. The resulting tqdm progress bar gives us information that includes the task completion percentage, number of iterations complete, time elapsed, estimated time remaining, and the iterations completed per second.🔗Github
#progressbar #tqdm