DEV Community

David MM👨🏻‍💻
David MM👨🏻‍💻

Posted on

2

How to add a progress bar to Python with tqdm

Original Post How to add a progress bar to Python with tqdm

How to add a progress bar to Python with tqdm

Progress Bar Python

Learn how to add a cool progress bar to your Python process and iterations just in seconds!

How often are you doing Machine Learning iterations, long calculations or process that take a lot of time, with Python, and you have to wait for minutes? Right now, you don't know how much time is going to take to finish the task! You could be waiting for 30 seconds or 2 hours, without any indicator of how much is going to take.

That's it, until now. This is an example of what you are going to create:

In this lesson, you are going how to use the TQDM Python library to give your iterators a cool, customizable, progress bar that calculates how much time it's going to take.

This Python library focuses on creating a visual aid for the user, in the form of a progress bar, Because of that, this lesson is going to be in video format only. Watch it here:


My Youtube tutorial videos

Reach to me on Twitter

Read more tutorials

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay