Answers for "how to hide file is windows system with python"

4

python windows hide files

import win32con, win32api
file = 'myfile.txt' # can be any extension
win32api.SetFileAttributes(file,win32con.FILE_ATTRIBUTE_HIDDEN)
Posted by: Guest on September-28-2021

Code answers related to "how to hide file is windows system with python"

Python Answers by Framework

Browse Popular Code Answers by Language