(self)
return USBDeviceHandle(self.__context, handle, self)
Open device.
        Returns an USBDeviceHandle instance.
Open device.
        Returns an USBDeviceHandle instance.
Open device . Returns an USBDeviceHandle instance .
def open(self):
        """
        Open device.
        Returns an USBDeviceHandle instance.
        """
        handle = libusb1.libusb_device_handle_p()
        result = libusb1.libusb_open(self.device_p, byref(handle))
        if result:
            raise libusb1.USBError(result)
        return USBDeviceHandle(self.__context, handle, self)
def open ( self ) : handle = libusb1 . libusb_device_handle_p ( ) result = libusb1 . libusb_open ( self . device_p , byref ( handle ) ) if result : raise libusb1 . USBError ( result ) return USBDeviceHandle ( self . __context , handle , self )