PyUSB aims to be an easy to use Python module to access USB devices. PyUSB relies on a native system library for USB access. Currently, it works out of the box with libusb 0.1, libusb 1.0, libusbx,libusb-win32 and OpenUSB, and works with any Python version starting at 2.4, including Python 3 releases.
The best way to start with PyUSB is through the PyUSB 1.0 tutorial, and API reference can be found in the doc strings.
If you need support, you can subscribe to the mailing list. At the SourceForge page you can find instructions on how to subscribe.
PyUSB development happens at github, and tar ball releases are made available at SourceForge
这是不错的库,参考源网址:
http://walac.github.io/pyusb/