Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get last modification time of file

import os
time = os.path.getmtime("file.txt")

print(time) # 1600113737.82
Source by thispointer.com #
 
PREVIOUS NEXT
Tagged: #python #modification #time #file
ADD COMMENT
Topic
Name
1+5 =