Communication between remote scripts

Irmen de Jong irmen at -nospam-remove-this-xs4all.nl
Tue Sep 14 15:25:18 EDT 2004


ChrisH wrote:

> Thanks for the info. I've actually been looking at Pyro as a possible 
> solution. In some ways however, it seems a lot more powerful than what I 
> need for this project. 
> 
> Could you give a simple example of how a two programs can "talk" to one 
> another? I don't think I really need RPCs in this case.

Well if you don't want (or need) Pyro or another high-level RPC mechanism,
you have to decide on something else. TCP or UDP socket communication
is an option. See Tim Golden's reply.

The Python source distribution contains some small socket examples
(in Demo/sockets/).

--Irmen



More information about the Python-list mailing list