title: Simple communication USB with python PyUSB on Windows 10
body: <p>I'm trying to communicate with a USB device with python. I am running Windows 10 and that I use Python 3.7.2 32bit.
  I installed PyUSB with pip</p>
  
  <pre><code>pip install pyusb
  </code></pre>
  
  <p>Here is my test code</p>
  
  <pre><code>import usb.core
  
  dev = usb.core.find(idVendor=0x1664, idProduct=0x0001)
  if dev is None:
      raise ValueError('Device not found')
  dev.set_configuration()
  print("Read: ", dev.read(0x81, 7))
  print("Write: ", dev.write(1, '0xB1')) 
  </code></pre>
  
  <p>On my reading function or my writing function I have an error:</p>
  
  <blockquote>
    <p>usb.core.USBError: [Errno 5] Input/Output Error </p>
  </blockquote>
  
  <p>Do you have any idea what's wrong?</p>
  
  <p>Thank you in advance for your help. </p>