title: Streaming data over USB in python / mimic usb drive with python?
body: <p>I would like to know if the following is possible:
  I want to connect my computer to either another computer, or a some consumer electronics (like a ps3 or xbox or something), via a double sided USB cable. I want to run a program on the first computer that will run a constant data stream through the USB cable, to trick the second computer into believing it is a usb flash drive, and it can read data from it. The first computer can change the data stream accordingly to the files that are supposed to be on the emulated flash drive.</p>
  
  <p>Essentially, I want to use a program on a computer to mimic USB hardware in another device.</p>
  
  <p>I don't know if I am wording this is a proper way or not, but is this possible?</p>
  
  <p>Diagram:</p>
  
  <p>| My Computer running this program | >-----emulated USB data stream-----> | Target |</p>