[SciPy-User] Curse of recursive directory walking

Gökhan Sever gokhansever@gmail....
Thu Jul 30 14:33:22 CDT 2009


On Thu, Jul 30, 2009 at 4:38 AM, Harald Schilly <harald.schilly@gmail.com>wrote:

> On Wed, Jul 29, 2009 at 23:14, Gökhan SEVER<gokhansever@gmail.com> wrote:
> > For some reason while this function working on my local folders I walks
> > through them in a randomly manner.
>
> This simply depends on the file system and the OS. Maybe your random
> order is just the sorting given by the inode index number!
>
> H
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>

I checked the directory with "ls -li". os.walk() doesn't base off on inodes.
The way inodes ordered and the files are walked through are in different
order.

-- 
Gökhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20090730/91f320dc/attachment.html 


More information about the SciPy-User mailing list