Hi guys,
I need your help. I am using python to synchronize several c programs. For one of these programs I need a dynamic interaction. I know there are several option: I am interested in the simplest one becouse I am noob.
Python code and C code have to exange data: python lunch the c program with some input, c code elaborate it and generate some results, these results have to be elaborated by the python code and new input will be delivered back to the c program.
I cannot use subprocess.communicate(input) becouse it will wait the end of the c process. The best it will be or a exchanging system through stdin and stdout or shared datastructure but I don't know how to deal with it in this case.
Could you help me?