Assuming the file exists (using os.path.exists(filename) to first make sure that it does), how do I display the time a file was last modified? This is on Linux if that makes any difference.
Assuming the file exists (using os.path.exists(filename) to first make sure that it does), how
Share
os.stat()
Linux does not record the creation time of a file (for most fileystems).