Opinion on best practice...

Ulrich Eckhardt ulrich.eckhardt at dominolaser.com
Tue Feb 5 08:05:04 EST 2013


Am 05.02.2013 11:35, schrieb Peter Otten:
> Ulrich Eckhardt wrote:
>> [...] use os.path.walk(), because that doesn't first  build a list and
>> then iterate over the list but iterates over the single elements directly.
[...]
> Not true. os.walk() uses os.listdir() internally.

Oh. 8|

Thanks for proofreading what I wrote, I must have been confusing it with 
something else.

Thanks&sorry!

Uli




More information about the Python-list mailing list