is there a module that enables property editing for general windows files
Question: so recently, a technologically clever fellow hid all the files in my school's
most frequently accessed and most important public networked mounted drives.

now, as the problem hasn't yet been fixed, i see it as an opportunity to
expand my knowledge on python. I would like if there is a module that allows
me to edit the properties of files in folders in general. !!EDIT: Windows
folders.

not the /contents/, the properties. like the date/time accessed, images of mp3
music, and more importantly, the hidden/not hidden status of files.


Answer: You can use the [Python for Windows](https://www.python.org/download/windows)
package to access a wide range of Windows API's. In particular, the
[SetFileAttributes](http://msdn.microsoft.com/en-
us/library/windows/desktop/aa365535%28v=vs.85%29.aspx) function will be
useful. You can see [an example
here](http://code.activestate.com/recipes/303343-changing-file-attributes-on-
windows/). There are other API's such as GetFileAttributes and
GetFileAttributesEx to can use to get more information. they'll be defined in
the same place as SetFileAttributes.

