Re: [Pyusb-users] Dependency check

2009-01-05 Thread Phil Hannent
Wander Lairson wrote: > hmmm, I think something like this should work: > > try: > import usb > except: > print "PyUSB not found" Thank you very much. > 2009/1/2 Phil Hannent : >> I am setting up my application to start the driver and that is all OK. My >> question is what is the best way to

Re: [Pyusb-users] Dependency check

2009-01-04 Thread Wander Lairson
hmmm, I think something like this should work: try: import usb except: print "PyUSB not found" Wander 2009/1/2 Phil Hannent : > 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 pytho