#NEWLINE# def _load_library( find_library = None ) : #NEWLINE# #INDENT# if ( sys . platform == 'win32' ) : #NEWLINE# #INDENT# win_cls = WinDLL #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# win_cls = None #NEWLINE# #UNINDENT# return usb . libloader . load_locate_library ( ( 'usb-1.0' , 'libusb-1.0' , 'usb' ) , 'cygusb-1.0.dll' , 'Libusb 1' , win_cls = win_cls , find_library = find_library , check_symbols = ( 'libusb_init' , ) )