0001 ### BITPIM 0002 ### 0003 ### Copyright (C) 2003-2004 Roger Binns <rogerb@rogerbinns.com> 0004 ### 0005 ### This software is under the same license as libusb 0006 ### 0007 ### $Id: styles.xy,v 1.4 2003/12/07 06:23:44 rogerb Exp$ 0008 0009 # Drop libusb support for Windows 0010 import sys 0011 if sys.platform=='win32': 0012 raise ImportError("libusb not supported on win32") 0013 0014 # Keep python happy that this is a module 0015 # bring everything into ournamespace 0016 from usb import * 0017 0018 # if this is unavailable, the above would have failed anyway 0019 import libusb 0020
Generated by PyXR 0.9.4