check last modified date file python 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