[issue45009] Get last modified date of Folders and Files using pathlib module

Gopesh Singh report at bugs.python.org
Thu Aug 26 02:42:21 EDT 2021


Gopesh Singh <gopeshsingh0994 at gmail.com> added the comment:

Adding further details:

//
from os.path import getmtime
from datetime import datetime
from pathlib import Path
import time
//

System:
Operating System: Ubuntu 18.04.5 LTS
Python: 3.8.8

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45009>
_______________________________________


More information about the Python-bugs-list mailing list