win32api.SetFileAttributes
int = SetFileAttributes(pathName, attrs
)
Sets the named file's attributes.
Parameters
pathName : string
The name of the file.attrs : int
The attributes to set. Must be a combination of the win32con.FILE_ATTRIBUTE_* constants.