Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > exchange data between events

Thread Tools

exchange data between events

Ferry Dave =?ISO-8859-15?Q?J=E4ckel?=
Posts: n/a

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
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Differentiate between user caused events and script generated events Javascript 1 04-27-2007 03:05 AM
Events Events Events Please Help Chris ASP .Net Web Controls 0 08-30-2005 08:21 PM
Exchange 5.5 with Exchange 2000 Cluster problem Jose Luis Microsoft Certification 0 02-13-2004 10:23 AM
Re: passing variables between web page events & httpmodules events Alvin Bruney ASP .Net 1 11-24-2003 04:14 PM
Passing Variables between Web Page Events and HttpModule Events shiv ASP .Net 0 11-21-2003 04:29 PM