python os.listdir() shows protected files
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle4
--
Chapters
00:00 Question
02:18 Accepted answer (Score 1)
03:45 Thank you
--
Full question
https://stackoverflow.com/questions/1212...
Question links:
[which doesn't show up in the command prompt]: https://dl.dropbox.com/u/34696560/python...
[the files show up once I uncheck "Hide protected operating system files"]: https://dl.dropbox.com/u/34696560/python...
[How to ignore hidden files using os.listdir()?]: https://stackoverflow.com/questions/7099...
Accepted answer links:
[pywin32]: http://sourceforge.net/projects/pywin32/.../
[here]: http://code.activestate.com/recipes/3033.../
[Checking file attributes in python]: https://stackoverflow.com/questions/6598...
[here]: http://docs.python.org/library/os.html#o...
[stat]: http://docs.python.org/library/stat.html
[(python) meaning of st_mode]: https://stackoverflow.com/questions/4087...
[How can I get a file's permission mask?]: https://stackoverflow.com/questions/5337...-
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #windows #python27
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle4
--
Chapters
00:00 Question
02:18 Accepted answer (Score 1)
03:45 Thank you
--
Full question
https://stackoverflow.com/questions/1212...
Question links:
[which doesn't show up in the command prompt]: https://dl.dropbox.com/u/34696560/python...
[the files show up once I uncheck "Hide protected operating system files"]: https://dl.dropbox.com/u/34696560/python...
[How to ignore hidden files using os.listdir()?]: https://stackoverflow.com/questions/7099...
Accepted answer links:
[pywin32]: http://sourceforge.net/projects/pywin32/.../
[here]: http://code.activestate.com/recipes/3033.../
[Checking file attributes in python]: https://stackoverflow.com/questions/6598...
[here]: http://docs.python.org/library/os.html#o...
[stat]: http://docs.python.org/library/stat.html
[(python) meaning of st_mode]: https://stackoverflow.com/questions/4087...
[How can I get a file's permission mask?]: https://stackoverflow.com/questions/5337...-
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #windows #python27
#avk47