from os import path
from datetime import date
at = path.getatime("d:\data.txt")
mt = path.getmtime("d:\data.txt")
ct = path.getctime("d:\data.txt")
at = date.fromtimestamp(at)
mt = date.fromtimestamp(mt)
ct = date.fromtimestamp(ct)
print("access time: ", at)
print("modification time: ", mt)
print("creation time: ", ct)
'''
run:
access time: 2018-06-13
modification time: 2018-09-29
creation time: 2018-06-09
'''