You can easily get it by this following code import os print("Date created" + time.ctime(os.path.getctime(file_dr))) Enter fullscreen mode Exit fullscreen mode