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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
great thanks
ASKER