This can be accomplished, to some effect, by using devices nodes (e.g. /dev/ttyS0, /dev/ttyUSB0 on POSIX, COM1, COM2, etc. on Windows/DOS) with file IO, but this doesn't allow explicit control of, e.g., baud, which would require some external setup. A producer/consumer for PySerial may be justified.
This can be accomplished, to some effect, by using devices nodes (e.g.
/dev/ttyS0
,/dev/ttyUSB0
on POSIX,COM1
,COM2
, etc. on Windows/DOS) with file IO, but this doesn't allow explicit control of, e.g., baud, which would require some external setup. A producer/consumer for PySerial may be justified.