While there were plans for an integrated asyncio/tkinter event loop, AFAIK nobody has done any work on it. So your best bet (unless someone else has better info) is to run asyncio in its own thread. On Sat, Sep 2, 2017 at 8:26 PM, Tim Jones via Async-sig < async-sig@python.org> wrote:
Hi I am trying to build an application on the raspberry Pi using python3.6 and tkinter for the GUI. It is an entry system for a community project and so I need to be able to receive FOB swipe data into the application which is running a tkinter user interface.
Any who I have all the components working ok but can't seem to get them to work together. I am trying to use asyncio but keep clashing with the tkinter event loop, so my question is can the asyncio loop work cooperatively with the tkinter loop?
Do I need to create a seperate thread, or is there some other solution available?
Any help with this would be greatly appreciated
Regards tim
Sent from my iPad _______________________________________________ Async-sig mailing list Async-sig@python.org https://mail.python.org/mailman/listinfo/async-sig Code of Conduct: https://www.python.org/psf/codeofconduct/
-- --Guido van Rossum (python.org/~guido)