I know that I can use e.g. pySerial to talk to serial devices, but what if I don\'t have a device right now but still need to write a client for it? How can I write a \"virt
Maybe a loop device will do the job if you need to test your application without access to a device. It's included in pySerial 2.5 https://pythonhosted.org/pyserial/url_handlers.html#loop