`serial.tools.list_ports` provides a mechanism for enumerating the COM ports. This would make a handy way to select which device the board is in the UI.
serial.tools.list_portsprovides a mechanism for enumerating the COM ports. This would make a handy way to select which device the board is in the UI.