Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get list of file and time created

import os
from pathlib import Path

paths = sorted(Path(dirpath).iterdir(), key=os.path.getmtime)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #list #file #time #created
ADD COMMENT
Topic
Name
8+4 =