[win32all]: Getting file details
Tim Daneliuk
tundra at tundraware.com
Sun Jan 19 01:20:07 EST 2003
djw wrote:
> Tim Daneliuk wrote:
>
>> Can some Kind Soul point me to a place which describes how to do the
>> following,
>> presumably with win32all:
>>
>> 1) Get the owner name and group name for file/directory ownership.
>> 2) Get the Windows permissions (RAHS ...) for a file/directory.
>> 3) Get the details for a *drive* (owner, group, volume name,
>> total/free space)
>>
>> TIA,
>
> Take a look at the win32file module in the PythonWin documentation.
> There you will find funstions like GetFileAttributes(),
> GetDiskFreeSpace(), etc. Also, look at win32security.
>
> /d/
>
Many thanks - just what I needed...
--
------------------------------------------------------------------------------
Tim Daneliuk
tundra at tundraware.com
More information about the Python-list
mailing list