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