Answers for "how to make a hidden file in python"

1

how to make a hidden file in python

import os
# making a file called myFile.txt
open('myFile.txt', 'w')

# giving the file an attribute for hidden
os.system("attrib +h myFile.txt")
Posted by: Guest on October-04-2021

Code answers related to "how to make a hidden file in python"

Python Answers by Framework

Browse Popular Code Answers by Language