I have two python processes running on two separate machines. These processes need to communicate with each other using some IPC mechanism.
Which is the simplest or the most suitable IPC mechanism in python?
IMO you should have a look at
https://docs.python.org/2/library/xmlrpclib.html#module-xmlrpclib
and
https://docs.python.org/2/library/simplexmlrpcserver.html
I prefer RPC over socket communication.
You can use socket programming for this. Find out more about this at:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.