Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python windows hide files

import win32con, win32api
file = 'myfile.txt' # can be any extension
win32api.SetFileAttributes(file,win32con.FILE_ATTRIBUTE_HIDDEN)
Comment

PREVIOUS NEXT
Code Example
Python :: python rotate pdf pages 
Python :: ERROR: Failed building wheel for Pillow 
Python :: print colored text python 
Python :: python read csv into array 
Python :: random letter generator python 
Python :: python elif invalid syntax 
Python :: python urlencode with requests 
Python :: Flask Gmail 
Python :: get mouse postition python 
Python :: sort python nested list according to a value 
Python :: copy image from one folder to another in python 
Python :: df sort values 
Python :: python check if variable is iterable 
Python :: python how to flatten a list 
Python :: python string argument without an encoding 
Python :: plt tight layout 
Python :: display python 001 
Python :: discord.py ban 
Python :: time start python 
Python :: split string every n characters python 
Python :: python keylogger 
Python :: python pyautogui how to change the screenshot location 
Python :: python virtual environment 
Python :: python time calculation 
Python :: how to clear a command line python 
Python :: how to read docx file in python 
Python :: keras import optimizer adam 
Python :: python system year 
Python :: how to loop in python 
Python :: how to sort a list by the second element in tuple python 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =