1

Using os.listdir(pathname = root drive) gives a list including $RECYCLE.BIN though its hidden. How can I exclude these hidden items?

I have found some thread on how not to show hidden ones. But in case of only $RECYCLE.BIN being hidden it doesn't seems to work. Expecting something/ a way like os.listdir() which will return a list including only visible items.

Heikki
  • 2,214
  • 19
  • 34
yo only
  • 97
  • 1
  • 2
  • 6

0 Answers0