[Chicago] Combining Tkinter and asyncore

Robert Allan Zeh razeh at earthlink.net
Thu Nov 3 23:06:45 CET 2005


Does anyone have any experience combining Tkinter and asyncore?  

I've been looking for a clean way to do this; it would be nice if I only had one event loop.  After spending some time with google, I found the following:

        while 1:
            tkinter.dooneevent(tkinter.DONT_WAIT)
            asyncore.poll(0.01) 

Which is a bit unsatisfying --- I'd rather have one underlying call to select.

Thanks,
Robert Zeh




More information about the Chicago mailing list