exchange data between events
Ferry Dave Jäckel
dave at eddy.uni-duisburg.de
Mon Jun 28 04:39:02 EDT 2004
Hello,
I'm relative new to wxPython and advanced python programming.
I have gui app and several time consuming computations, each running in its
own task. I want to display some intermediate results, so a computation
needs to update some data which in turn can be displayed by the gui.
I don't want to use wx events, because any of this computations can be
executed stand alone without any reference to wx (even without any
threading). But I don't know how to tell the gui (or main thread) there's
new data to display, and how to exchange this data between worker thread
and main thread in a save and elegant way.
I have the feeling that "everything is a pointer in python" is one of the
main concepts needed to solve this problem.
Any help with this design problem would be great!
Many thanks,
Dave Jäckel
More information about the Python-list
mailing list