inter process communicat - Communication between two python scripts -


a methodology question:

i have "main" python script runs on infinite loop on system, , want send information (a json data string example) other python scripts started later myself or program , end after sending string.

i can't use subprocess here because main script doesn't know when other run , code execute.

i'm thinking of making main script listen on local port , making other scripts send strings on port, there better way ?

zeromq: http://www.zeromq.org/ - best solution interprocess communications imho , have excelent binding python: http://www.zeromq.org/bindings:python


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -