Detect the id of usb devices using Python code