how to search directories under <PATH>
haim at babysnakes.org
Sat Jun 26 02:07:48 CEST 2004
I have to write a function that returns a list of all directories under
<PATH> (should work on linux and windows). it should be easy to write a
loop that goes through every directory... and so on, but I was wondering
if there's faster/more economic way, something like 'find <PATH> -type d'.
I couldn't find any 'find' module for python.
More information about the Python-list