Removing hidden directory in os.walk()

Gaëtan Podevijn gpodevij at
Fri Feb 25 12:40:02 EST 2011


I would like that os.walk() does not walk through hidden directories. I know
that with topdow = true, I can modify the subdirectory list in place, but
how should I remove every hidden directory from this place in list ?

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list