Simple IPC between C++ and Python (cross platform)

前端 未结 7 1069
梦谈多话
梦谈多话 2020-12-02 07:50

I have a C++ process running in the background that will be generating \'events\' infrequently that a Python process running on the same box will need to pick up.

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-02 08:26

    Another option is to just call your C code from your Python code using the ctypes module rather than running the two programs separately.

提交回复
热议问题