Expanding Search to Subfolders
Lou Losee
llosee at gmail.com
Tue Jun 6 12:09:38 EDT 2006
On 6/6/06, Fredrik Lundh <fredrik at pythonware.com> wrote:
> Lou Losee wrote:
>
> > How about something like:
>
> > import os, stat
> >
> > class DirectoryWalker:
> > # a forward iterator that traverses a directory tree, and
> > # returns the filename
> > ...
>
> > not tested
>
> speak for yourself ;-)
>
> (the code is taken from http://effbot.org/librarybook/os-path.htm )
>
> </F>
>
Well that is good to know :) I know I did not get it from there but I
had it in my snippits directory.
Lou
--
Artificial Intelligence is no match for Natural Stupidity
More information about the Python-list
mailing list