Ben Finney wrote: > We must be reading different Python websites. > > walk(top[, topdown=True [, onerror=None]]) > > walk() generates the file names in a directory tree, by walking > the tree either top down or bottom up. For each directory in the > tree rooted at directory top (including top itself), it yields a > 3-tuple (dirpath, dirnames, filenames).
Maybe he meant os.path.walk, although that's still not quite what he had. -- http://mail.python.org/mailman/listinfo/python-list