Link to home
Start Free TrialLog in
Avatar of tf2012
tf2012

asked on

python pyusb how to find a file on mass storage

I can't find anything in the pyusb docs about how to do this.  Maybe pysub isn't the way to go?  Any tips?

Here is what I'm trying to do:

When the user clicks a UI button I'm trying to get python to look for connected usb storage and check to see if a file 'superfile.zip' exisits in the usb stick root folder.

Using pyusb I can enumerate the devices and get all the juicy descriptor details but I'm completely lost about how to target a usb storage device and query for the file.  Any experts out there who know how to do this?
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tf2012
tf2012

ASKER

Great thanks, I'll give it a try this weekend and let you know how it goes
Avatar of tf2012

ASKER

great thanks