module for doing unix "find"-like things?

A. Lloyd Flanagan alloydflanagan at attbi.com
Fri Apr 11 19:59:41 EDT 2003


Mark Harrison <mh at pixar.com> wrote in message 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`; ...
> 
> Many TIA,
> Mark

If such a module doesn't exist I might write one.  A friendlier (more
pythonic?) interface to os.stat() would be an obvious starting point.




More information about the Python-list mailing list