On Thu, Jun 25, 2009 at 10:32 AM, Private Private<mail...@gmail.com> wrote: > On Jun 24, 12:23 pm, Przemyslaw Bak <mail...@gmail.com> wrote: >> Hello, >> >> I many files with log data. The structure of the file is quite > > Each requested value is in separated file. > While traversing using os.path.walk I have noticed that I get files > unsorted. > Is it possible to get them sorted ? >
You can use the os.walk generator and sort the filenames in the returned tuple. -- regards, kushal -- http://mail.python.org/mailman/listinfo/python-list