On Thu, 2006-08-03 at 15:37 -0700, Christopher Spears wrote: (in the os.walk processing) > os.chdir(path) > matched_files = glob.glob(pattern) >From the os.walk documentation
Note: If you pass a relative pathname, don't change the current working directory between resumptions of walk(). walk() never changes the current directory, and assumes that its caller doesn't either. Just making sure no one blindly copies this code without understanding that an absolute path is essential. -- Lloyd Kvam Venix Corp _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor