Is it possible to hide files with a certain extension? I'm using Windows Vista and don't want to see pyc files in the Windows file explorer. It would be nice to reduce the clutter. Thanks
migrated from stackoverflow.com Dec 14 '12 at 5:29
This question came from our site for professional and enthusiast programmers.
It's very easy, and not depend on your python file or not.
Open command prompt, type the disk letter that you want to hide all
After that, type this line:
if you want to view again those file:
if you don't want to hide all pyc file in all drive, after you move to one drive, you can use
You can replace pyc in above command with any file type you want. And, you must turn off "Show hidden file and folder" in
Hope this help :)
I stick this in my main python project file
That hides the complied files everytime I run it and the directory stays nice and clean