Tkinter multiple functions running at the same time as GUI mainloop | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Tkinter multiple functions running at the same time as GUI mainloop

I have a simple Python GUI (tkinter) program that downloads videos from YouTube, however my GUI crashes (not responding) when ever the download function is running (item being downloaded) and returns after the download is done, I read about threading as a way to overcome this, but I'm having challenges implementimg it in my program. Could anyone please help me out by explaining very well, or is there another way to fix this problem??

18th Nov 2018, 6:23 PM
Toni Sedjoah
Toni Sedjoah - avatar
1 Answer
+ 2
What do you mean multiple functions running? I created a program where we had multiple functions running at the same time and it worked. It was a Tkinter login.
19th Nov 2018, 11:59 PM
Saul
Saul  - avatar