Tag: Python : How to get Last Access & Creation date time of a file
Python : How to get Last Access & Creation date time of a file
In this article we will discuss different ways to get the last access and creation timestamp of a file and how to convert them into different formats. os.stat() Python’s os module provides a function os.stat() Advertisements os.stat(pathOfFile) It accepts the path of file as argument and returns the status of file in the form of an …
Python : How to get Last Access & Creation date time of a fileRead More