os.walk restart

Keir Vaughan-taylor keirvt at gmail.com
Wed Mar 17 23:04:14 CET 2010

I am traversing a large set of directories using

for root, dirs, files in os.walk(basedir):
    run program

Being a huge directory set the traversal is taking days to do a
Sometimes it is the case there is a crash because of a programming
As each directory is processed the name of the directory is written to
a file
I want to be able to restart the walk from the directory where it

Is this possible?

More information about the Python-list mailing list