module for doing unix "find"-like things?

Ulrich Petri ulope at gmx.de
Fri Apr 11 17:43:29 EDT 2003


"Mark Harrison" <mh at pixar.com> schrieb im Newsbeitrag
news:7LDla.1483$Pq2.135830754 at newssvr14.news.prodigy.com...
> Is there such a thing?  I didn't see such a thing, but
> "find" is not the easist thing to search for.
>
> Specifically, I would like to replace an external call to
>     for i in `find $top -type l -maxdepth 1`; ...
>

You can try using os.listdir in a recursive function...


Ciao Ulrich






More information about the Python-list mailing list