win32file.SetFileAttributes

SetFileAttributes(filename, newAttributes)

Changes a file's attributes.

Parameters

filename : PyUnicode

filename

newAttributes : int

attributes to set