def main()

in scripts/findusb.py [0:0]


def main() -> None:
    for port in comports():
        if port.vid is not None and port.pid is not None:
            print('0x%02x:0x%02x %s' % (port.vid, port.pid, port.device))