os.path.getatime()

os.path.getatime(filename)[source]

Return the last access time of a file, reported by os.stat().