[win32all]: Getting file details
djw
dwelch91 at no.spam.attbi.com
Sat Jan 18 21:17:08 EST 2003
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/
More information about the Python-list
mailing list