[KongchangAI]
Concept

os.walk

A directory traversal function in the Python standard library os module that recursively walks a directory tree. Its followlinks parameter controls whether symbolic links are followed, but it does not recognize Windows junctions and passes straight through them into the target directory.

Timeline (last 90 days)

Oct 14

os.walk uses islink() or DirEntry.is_symlink() to decide whether to enter a subdirectory, with no junction check at all, so followlinks=False bypasses symbolic links but goes straight through junctions

Unverified50%

All Facts (1)

Source Articles