Reputation: 20645
The other python process was launched externally, only the process identifier is known. This external process is not a subprocess launched from a python process. The path to both processes could be the same. How do I communicate with that process? How can I easily send python data types between these processes?
Best regards, Czarek
Upvotes: 1
Views: 571
Reputation: 1059
If you can accept communicating between the processes using a tcp connection, you could use zeromq. http://zeromq.org/
See these threads for examples:
Upvotes: 2