usb mass storage device detection

Tim Golden mail at
Tue Mar 31 09:35:31 CEST 2009

prakash jp wrote:
> Hi all,
> I am interested in detecting usb mass storage devices, r there any scripts
> in python to do so. Thanks in advance.

What? Detecting their presence in your pocket? :)

Which operating system are you using? It tends to
make a difference: these things are quite OS-specific.
If it's Windows, WMI is usually a good bet, altho' it
does depend on exactly what you're trying to do.


More information about the Python-list mailing list