Answers for "hide a file in windows 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 "hide a file in windows python"

Python Answers by Framework

Browse Popular Code Answers by Language