how can i add a progress bar to my python script? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how can i add a progress bar to my python script?

I have created a program for downloading youtube videos in python. The program uses the pytube module. It can download videos, audios and playlists. I need someone to help me add one last thing, a progress bar. It's not a gui. I want it to show a progress bar whenever something is being downloaded. If you are able to help send me a message and i will send you my code.

24th Oct 2021, 9:58 AM
John Delvin
John Delvin - avatar
2 Answers
+ 2
Get good with threading! Look through this code. It's a network scanner that uses a threaded progress bar with percentage to show progress of scanning Lines 391 & 411 https://code.sololearn.com/ce1VUemhhYwS/?ref=app
24th Oct 2021, 10:04 AM
Slick
Slick - avatar
+ 2
Try adding html code to the python code. You can use print("""html code""")
24th Oct 2021, 10:22 AM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar