Think of a situation where a Python script sends commands to an external device,let's say, via serial port. The script resides on some Linux machine and the equipment reacts to some commands. The idea is to simulate all this chain on my machine by "sending" commands to a file which contains the dump that would be generated by the equipment, otherwise. It is first time when I'm trying such thing and it will be good to hear from someone who had experience with such situation. I red on the web and people are talking about few direction:
- multiprocessing
- RPyC
- Threading
- zmq
It might be more but not aware of. Any suggestions?