0
Need advice for Tkinter freezing problem (python)
My tkinter GUI was freezing so I decided to use threading but the problem is matplotlib is thread incompatible so I can't use matplotlib in thread. So should I use multiprocessing? Will it prevent freezing GUI and matplotlib problem?
1 Antwort
+ 1
you're application is probably uses synchronous functions which are single threated and will result in freezing and lagging ,
try using asynchronous approach in python; these articles may help you:
https://www.infoworld.com/article/3454442/get-started-with-async-in-python.html
https://medium.com/velotio-perspectives/an-introduction-to-asynchronous-programming-in-python-af0189a88bbb#:~:text=Asynchronous%20programming%20is%20a%20type