Jun-01-2021, 01:10 PM
Try using
https://docs.python.org/3/library/os.html#os.stat Wrote:os.stat(path, *, dir_fd=None, follow_symlinks=True)to get
Get the status of a file or a file descriptor. Perform the equivalent of a stat() system call on the given path. path may be specified as either a string or bytes – directly or indirectly through the PathLike interface – or as an open file descriptor. Return a stat_result object.
https://docs.python.org/3/library/os.htm...t.st_atime Wrote:st_atime
Time of most recent access expressed in seconds.