These are well supported on all platforms. dev/ttyUSB0 on GNU/Linux or COM3 on Windows. Port is a device name: depending on operating system. It is not opened when port is None and a successive call The port is immediately opened on object creation, when a port is
xonxoff ( bool) – Enable software flow control.timeout ( float) – Set a read timeout value.PARITY_NONE, PARITY_EVEN, PARITY_ODD PARITY_MARK, PARITY_SPACE baudrate ( int) – Baud rate such as 9600 or 115200 etc.Serial ¶ _init_ ( port=None, baudrate=9600, bytesize=EIGHTBITS, parity=PARITY_NONE, stopbits=STOPBITS_ONE, timeout=None, xonxoff=False, rtscts=False, write_timeout=None, dsrdtr=False, inter_byte_timeout=None ) ¶ Parameters: