Communication between two python scripts

前端 未结 3 2057
执笔经年
执笔经年 2020-12-03 03:18

a methodology question:

I have a \"main\" python script which runs on an infinite loop on my system, and I want to send information to it (a json data string for exa

3条回答
  •  感动是毒
    2020-12-03 04:02

    zeromq: http://www.zeromq.org/ - is best solution for interprocess communications imho and have a excelent binding for python: http://www.zeromq.org/bindings:python

提交回复
热议问题