Jeremy Sanders wrote: > you could do something like: > > l = [(os.stat(i).st_mtime, i) for i in glob.glob('*')] > l.sort() > files = [i[1] for i in l]
Thank you for your help, this is excatly what I wasa looking for. -- http://mail.python.org/mailman/listinfo/python-list