P
placid
Hi all,
Just wondering is there a way (not brute force) to check if a usb
storage device is connected?
The brute force method im talking about is doing a os.path.isdir() or
os.path.isdir() on all the drive letters from A-Z, because you know
that this usb device contains a folder called A or file called foo.txt.
Thanks in Advance
Just wondering is there a way (not brute force) to check if a usb
storage device is connected?
The brute force method im talking about is doing a os.path.isdir() or
os.path.isdir() on all the drive letters from A-Z, because you know
that this usb device contains a folder called A or file called foo.txt.
Thanks in Advance