Fredrik Lundh wrote: >> *24. Display recent 10 java files, (with *.java extension) , in >> descending order by time, latest to oldest time. (1) * > > >>> files = sorted(glob.glob("*.py"), key=os.path.getmtime)[-10:] > >>> files.reverse()
(to display the files, use print) </F> -- http://mail.python.org/mailman/listinfo/python-list