In python, is there a way to check for file attributes to filter out hidden files in windows? I know in Linux, checking for a leading '.' can do the trick but it does not work in windows. I would like to do this without having to use the win32 api. The code should only list files/directories without the hidden attribute.
pathnow = "C:/"
for f in os.listdir(pathnow):
print f