Local drives on Win32 with win32api

Uwe Becher ubecher at gmx.de
Thu Nov 14 13:43:18 EST 2002


Yes ... I missed the point.

Thanks, it works

Uwe

Mark Hammond wrote:
> Uwe Becher wrote:
> 
>> Hi.
>>
>> I'm trying to get information about local drives on a win32 box. Using 
>> win32api.GetLogicalDriveStrings() and win32api.GetDiskFreeSpace(drive) 
>> works nearly perfect - except: I get all the network drives mapped to 
>> a drive letter too!
>>
>> Is there a way to get information, if a drive is local or remote?
>> May be I missed the point reading the documentation.
>>
> 
> win32file.GetDriveType()
> 
> Mark.
> 




More information about the Python-list mailing list