Process files in order
bearophileHUGS at lycos.com
bearophileHUGS at lycos.com
Thu Jul 27 17:31:09 EDT 2006
A possibility:
import os
_, _, file_names = os.walk("").next()
print sorted(file_names, key=lambda fn: os.stat(fn)[8])
Bye,
bearophile
More information about the Python-list
mailing list