views:

200

answers:

2

I am currently developing an application in python 3 and i need to be able to hide certain files from the view of people. i found a few places that used the win32api and win32con but they don't seem to exist in python 3.

Does anyone know if this is possible without rolling back or writing my own attribute library in C++

+3  A: 

You can use ctypes to directly access functions from kernel32.dll.

The function you're looking for is windll.kernel32.SetFileAttributesA

vartec
+4  A: 

You need the pywin32 Python Extensions for Windows. Recently released for Python 3.

theller