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.