Lines Matching defs:walk
282 def walk(top, topdown=True, onerror=None, followlinks=False):
305 (e.g., via del or slice assignment), and walk will only recurse into the
308 topdown is false has no effect on the behavior of os.walk(), since the
317 report the error to continue with the walk, or raise the exception
318 to abort the walk. Note that the filename is available as the
321 By default, os.walk does not follow symbolic links to subdirectories on
326 current working directory between resumptions of walk. walk never
334 for root, dirs, files in os.walk('python/Lib/email'):
342 sys.audit("os.walk", top, topdown, onerror, followlinks)
351 # get a list of the files the directory contains. os.walk
427 __all__.append("walk")
434 This behaves exactly like walk(), except that it yields a 4-tuple
438 `dirpath`, `dirnames` and `filenames` are identical to walk() output,
441 The advantage of fwalk() over walk() is that it's safe against symlink