S
Siddharth Choudhuri
I am trying to come up with an app that reads data out of socket
(concurrent server) and display a graph on the UI. I have one program that
uses asyncore.loop() to read data out of a port. The second program uses
Tkinter to have the UI and uses mainloop() to respond to mouse-click and
other events.
Now, the problem is how do I combine the two ? since there are two event
loops. If I put the asyncore.loop() within the UI, the code blocks waiting
for input and does not update the UI.
TIA
-siddharth
_____________________________________________________________________
Unix is user friendly - its just picky about its friends.
_____________________________________________________________________
(concurrent server) and display a graph on the UI. I have one program that
uses asyncore.loop() to read data out of a port. The second program uses
Tkinter to have the UI and uses mainloop() to respond to mouse-click and
other events.
Now, the problem is how do I combine the two ? since there are two event
loops. If I put the asyncore.loop() within the UI, the code blocks waiting
for input and does not update the UI.
TIA
-siddharth
_____________________________________________________________________
Unix is user friendly - its just picky about its friends.
_____________________________________________________________________