Getting an overview if all available driveletters on NT
gmcm at hypernet.com
Tue Apr 11 10:29:11 EDT 2000
Pieter Claerhout wrote:
> is there a module in Python, which can list all available driveletters, together with
> their label. I'm using Windows NT? I already thought of iterating over all possible
> driveletters, and see if the path exists or not, but I also want to separate the
> network volumes from the other volumes. Any ideas?
In Mark's Win32 extensions the module win32api has
GetLogicalDriveStrings() and GetVolumeInformation(...).
More information about the Python-list