Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python os.listdir attributes

from pathlib import Path

for path in Path('.').iterdir():
    info = path.stat()
    print(info.st_mtime)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #attributes
ADD COMMENT
Topic
Name
3+5 =