exchange data between events

Discussion in 'Python' started by Ferry Dave =?ISO-8859-15?Q?J=E4ckel?=, Jun 28, 2004.

  1. 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
     
    Ferry Dave =?ISO-8859-15?Q?J=E4ckel?=, Jun 28, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. CV
    Replies:
    1
    Views:
    534
    Natty Gur
    Dec 19, 2003
  2. =?Utf-8?B?RGltaXRyaXMgUGFudGF6b3BvdWxvcw==?=

    Exchange data between ASPX pages with no refresh

    =?Utf-8?B?RGltaXRyaXMgUGFudGF6b3BvdWxvcw==?=, Jun 29, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    472
    Eliyahu Goldin
    Jun 29, 2004
  3. www.westerncartooncards.ca

    Exchange Links < Western Cartoon Cards > Exchange Links

    www.westerncartooncards.ca, Jul 12, 2004, in forum: HTML
    Replies:
    2
    Views:
    1,261
    Toby Inkster
    Jul 12, 2004
  4. Chris

    Events Events Events Please Help

    Chris, Aug 30, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    388
    Chris
    Aug 30, 2005
  5. Alessandro Barracco

    matrix: exchange rows + exchange columns

    Alessandro Barracco, Jan 25, 2011, in forum: Ruby
    Replies:
    0
    Views:
    168
    Alessandro Barracco
    Jan 25, 2011
Loading...

Share This Page