Removing hidden directory in os.walk()

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


Hello,

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,
Gaëtan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110225/7858b670/attachment.html>


More information about the Python-list mailing list