Walking recursivly through a directory-structure

François Pinard pinard at iro.umontreal.ca
Mon May 29 11:30:16 EDT 2000


"Pål Sollie" <sollie at saint-etienne.no> écrit:

> I've been looking at os.path.walk for this, but I'm not sure how to
> implement it.  Anyone able to point me in the rigth direction?

I'm sure examples abound.  I have a few on-line, here and there, like:

   http://www.iro.umontreal.ca/contrib/recode/lib/distroweb.py

Just look for occurrences of the `walk' or `walker' strings.

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard






More information about the Python-list mailing list