pySerial — pySerial 3.4 documentation
pyserial.readthedocs.io › en › latestThe last version of pySerial’s 2.x series was 2.7, compatible with Python 2.3 and newer and partially with early Python 3.x versions. pySerial 1.21 is compatible with Python 2.0 on Windows, Linux and several un*x like systems, MacOSX and Jython. On Windows, releases older than 2.5 will depend on pywin32 (previously known as win32all). WinXP ...
pySerial API — pySerial 3.4 documentation
pyserial.readthedocs.io › en › latestThe port is immediately opened on object creation, when a port is given. It is not opened when port is None and a successive call to open () is required. port is a device name: depending on operating system. e.g. /dev/ttyUSB0 on GNU/Linux or COM3 on Windows. The parameter baudrate can be one of the standard values: 50, 75, 110, 134, 150, 200 ...