"nobody" <nobody at nowhere.near.here> wrote: > >Also os.path.walk() could be an improvement. Probably not. It does exactly what his loop does: os.listdir, and then os.stat (disguised as "ispath") for every filename. However, it would be easier to understand with os.path.walk... -- - Tim Roberts, timr at probo.com Providenza & Boekelheide, Inc.