Answers for "to compare the previous date and the last accessed date of a file for updation in python"

0

python get last modification time of file

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

print(time) # 1600113737.82
Posted by: Guest on September-15-2020

Code answers related to "to compare the previous date and the last accessed date of a file for updation in python"

Python Answers by Framework

Browse Popular Code Answers by Language