How to get the date created of a file in python?

Basha - Apr 9 '23 - - Dev Community

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
. . . . . . . . . . . . . . . . . .
Terabox Video Player