IPC (inter process communication) between python and java

前端 未结 6 1244
暖寄归人
暖寄归人 2020-12-31 04:18

First, a little explanation of why I\'m asking this question in the first place: I\'m writing a python program (with a wxPython gui) that needs to call a Java AWT p

6条回答
  •  [愿得一人]
    2020-12-31 05:10

    Use subprocess.Popen to start the Java process and establish pipes to communicate with it. For serializing and deserializing data efficiently in a language-neutral, platform-neutral, extensible way, take a look at Protocol Buffers (contributed to by Jon Skeet!).

提交回复
热议问题