Listing usb devices using pyusb doesn't work
问题 I am trying to list USB devices on my windows 7 pc. I installed this ahead: https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/libusb-win32-devel-filter-1.2.6.0.exe The code below does not print anything. Is there something else to be done to get the device info? import usb.core import usb.util dev = usb.core.find(find_all=True) for d in dev: print(usb.util.get_string(d,128,d.iManufacturer)) Edit: Solved This comes close to what I need Retrieve list of USB items