> I think you misunderstood. scandir() is the generator-producing equivalent 
> of listdir() which returns a list. Neither of them recurses into 
> subdirectories:

Ah great, that makes sense. An article I read gave the impression that 
os.scandir() was replacing os.walk(), not simply being used in its 
implementation.

Thanks,
Stephen.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to