Answers for "hide files in 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

Python Answers by Framework

Browse Popular Code Answers by Language