Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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")
 
PREVIOUS NEXT
Tagged: #hidden #file #python
ADD COMMENT
Topic
Name
1+4 =