hmmm, I think something like this should work:

try:
  import usb
except:
  print "PyUSB not found"

Wander

2009/1/2 Phil Hannent <p...@hannent.co.uk>:
> Hello,
>
> I am setting up my application to start the driver and that is all OK.  My
> question is what is the best way to determine if the Linux machine has python
> and PyUSB installed?
>
> Regards
> Phil Hannent
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Pyusb-users mailing list
> Pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
>

------------------------------------------------------------------------------
_______________________________________________
Pyusb-users mailing list
Pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to