Sep-22-2021, 02:13 AM
I'm very new to python and I haven't gotten very far with my code but below is what I have so far
Does anyone have any idea how I can return all com ports that are installed but not used.
import serial.tools.list_ports as port_list ports = list(port_list.comports()) for p in ports: print (p)this gives me the list of com ports that are active but I have com ports that are being installed but nothing is using it
Does anyone have any idea how I can return all com ports that are installed but not used.