asyncio+tkinter

Skip Montanaro skip.montanaro at gmail.com
Mon Mar 21 19:50:12 EDT 2022


Given that both asyncio & tkinter are modules in the standard lib and both
have event loops, I would have expected to find some "best practice"
solution to mixing the two. I've not used asyncio, but might find it useful
with the pynput module in the context of a Tk app. I see a few solutions
out in the wild, but this seems like something which might best be
addressed in either the asyncio or tkinter documentation, or better yet,
implemented in one or the other.

Skip Montanaro


More information about the Python-list mailing list