create user message for wxPython

Frithiof Andreas Jensen frithiof.jensen at die_spammer_die.ericsson.com
Mon Oct 24 04:07:36 EDT 2005


"James Hu" <jhu at metrigenix.com> wrote in message
news:mailman.2323.1129839922.509.python-list at python.org...
Hi,

> There are 2 wxPython application, A and B and need to exchange msg.

I do not think that wx even has a mechanism for sending events between
applications.?

You need some other tool, like a socket, a named pibe, some windows specific
event queue library (gack!), or maybe a toolkit like PYRO, SPREAD e.t.c.
depending on your *reason* for needing this in the first place.

I am partial to PYRO myself.

... and you do need an event loop in any case to map from:

 "remote event" <-> "message protocol" <-> "local event"

... at least that makes it easier to test than "raw" event's which are
harder to control.





More information about the Python-list mailing list