can i use datetime to check when last time file was update code example
Example: python get last modification time of file
import os
time = os.path.getmtime("file.txt")
print(time) # 1600113737.82
import os
time = os.path.getmtime("file.txt")
print(time) # 1600113737.82