win32api.GetFileAttributes
int = GetFileAttributes(pathName) Retrieves the attributes for the named file.
ParameterspathName : string
The name of the file whose attributes are to be returned.Win32 API ReferencesGetFileAttributes
Return ValueThe return value is a combination of the win32con.FILE_ATTRIBUTE_* constants.
An exception is raised on failure.
|