Two Pythons talking to each other?

Charles G Waldman cgw at fnal.gov
Wed Jul 7 20:19:34 EDT 1999


There's no reason, just because the two programs are running on the same
machine, that they can't talk to each other using network protocols (TCP/IP,
sockets, etc).  You can use the "loopback" address of 127.0.0.1 to make
all connections.  You really don't want to develop and test using a 
completely different communications scheme (e.g. pipes, files) then 
re-implement everything for the networked version, and debug it all
over again.  Client and server can both run on the same box.




More information about the Python-list mailing list