Tkinter: How to use threads to preventing main event loop from “freezing”
I have a small GUI test with a “Start” button and a Progress bar. The desired behavior is:
I have a small GUI test with a “Start” button and a Progress bar. The desired behavior is:
I would like to start a blocking function in an Executor using the asyncio call loop.run_in_executor and then cancel it later, but that doesn’t seem to be working for me.