Python/Serial: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

27 August 2025

25 July 2025

23 July 2025

  • curprev 02:2702:27, 23 July 2025Kenneth talk contribs 1,122 bytes +1,122 Created page with "== List Windows COM Ports == <pre> # https://stackoverflow.com/questions/12090503/listing-available-com-ports-with-python import serial.tools.list_ports for device in serial.tools.list_ports.comports(): #print(dir(device)) print(device) # COM9 - USB Serial Port (COM9) print(f'description: {device.description}') # USB Serial Port (COM9) print(f'device: {device.device}') # COM9 print(f'hwid: {device.hwid}') # USB VID:PID=0403:6011 SER=FT78U7W3C print(f'interfac..."