Home

Published

- 1 min read

how to make a hidden folder using python

img of how to make a hidden folder using python

The solution for this is noted below

how to make a hidden folder using python

Solution

   import os

os.mkdir("folder_name") # Make a folder

os.system("attrib + h " + "folder_name") # Hide the folder

# +h for hide
# -h for unhide

Try other methods by searching on the site. That is if this doesn’t work