I know that similar questions occasionally appear
communication between 2 programs in python or Communication between two python scripts
but my problem is much more simple. I have two python processes continuously running on the same computer and slave process occasionally needs three float numbers from master process.
Not being a programming expert, I would reserve three float slots somewhere in computer memory, which would be constantly updated by the master process, and the slave process would simply read this memory slots when it needed information. So essentially master is talking all the time and slave is listening only when it needs information.
Is that possible to do without much fuss and effort? If possible, keep answers simple, as I am not an programming expert.
In the end I have used RPyC library (https://rpyc.readthedocs.org/en/latest/). Easy to use and powerful.