[win32all]: Getting file details
dwelch91 at no.spam.attbi.com
Sun Jan 19 03:17:08 CET 2003
Tim Daneliuk wrote:
> Can some Kind Soul point me to a place which describes how to do the
> 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)
Take a look at the win32file module in the PythonWin documentation.
There you will find funstions like GetFileAttributes(),
GetDiskFreeSpace(), etc. Also, look at win32security.
More information about the Python-list