6 lines
122 B
Python
6 lines
122 B
Python
|
import glob
|
||
|
import os
|
||
|
|
||
|
files = glob.glob("*.txt")
|
||
|
files.sort(key=os.path.getmtime)
|
||
|
print("\n".join(files))
|