win32api.GetLogicalDriveStrings

string = GetLogicalDriveStrings()

Returns a string with all logical drives currently mapped.

Win32 API References

Search for GetLogicalDriveStrings at msdn, google or google groups.

Return Value

The return value is a single string, with each drive letter NULL terminated.
Use "s.split('\\0')" to split into components.