Eric Deveaud <[EMAIL PROTECTED]> writes: > Gary Wessle wrote: > > > > I need to traverse those files in the order they were created > > chronologically. listdir() does not do it, is there a way besides > > build a list then list.sort(), then for element in list_of_files open > > element? > > are the name of the files describing the cration date,
yes > or have to rely on the creation date ? no > > if the name allows to discriminate the chronology, check glob module. I just tried glob, it does not put out a list with file names sorted. > > Eric -- http://mail.python.org/mailman/listinfo/python-list