How to communicate between two or more wxpython apps

… Howcome you can’t use networking? There’s lots of easy RPC mechanisms out there to choose from, but they all use networking that I’m aware of. Is there some kind of firewall getting in the way, even if you’re just starting up and accessing 127.0.0.1? XML-RPC is simple to do with vanilla Python, but limited if you want more rich communication. Pyro is a very easy RMI/RPC-ish thing for python only. But… they’re networking :slight_smile:

In the end, most everything’s going to use a socket at the core even if its just a local socket. There’s named pipes, but Annoying. Do you need to be OS-independant? If not, how complex of a piece of data do you need? You could use events (Via CreateEvent using win32all/pywin32 or ctypes) for very simple signal-like communication if you have a thread off listening/waiting on it, etc. Mild pain in the butt. I’m sure there’s other windows-specific API’s for sending messages to other windows, but since everything I have to do must be platform-independant, I’m not terribly familiar with them. We use CORBA for our apps to communicate with eachother :slight_smile:

Are you -sure- you can’t use networking just through the loopback adapter? Even in a very secure/paranoid situation that’s mildly crazy.

–S

···

On 8/22/07, Delgado, Edgardo CIV NAVAIR 4.1.4.3 edgardo.delgado@navy.mil wrote:

How can I “talk”, communicate to another wxpython app.
Can’t use networking, and signals won’t work.