Created
March 17, 2017 16:11
-
-
Save pcote/14f14ed29554e5375bfeb4dcd793c96d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def modify_time_sort(file_name): | |
file_path = "uploads/{}".format(file_name) | |
file_stats = os.stat(file_path) | |
last_access_time = file_stats.st_atime | |
return last_access_time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment