Write a program in python so you can fetch the port numbers of connected devices. for ex: CANAT -COM 4, MCU - COM 5
I tried this code but not getting desired output