On this page
ntpath.getatime
Prev: ntpath.expandvars | Up: ntpath | Next: ntpath.getctime
Rel: ntpath.abspath, ntpath.basename, ntpath.commonpath, ntpath.commonprefix
Ref: docs.python.org — ntpath.getatime
Tags: #public #python3 #stdlib #ntpath
Import
import ntpath
from ntpath import getatime
Signature & Overview
ntpath.getatime(filename)
Return the last access time of a file, reported by os.stat().
Usage
import ntpath
assert ntpath.getatime('.') > 0
Gotchas
- Returns last access time (epoch float); prefer
os.path.getatime().
REPL Inspect
from ntpath import getatime
help(getatime)
Linked from
Related notes
- tuts/python3/stdlib_module/ntpath/expandvars Linked here; links to this page; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/getctime Linked here; links to this page; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/ntpath/abspath Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/basename Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/commonpath Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/commonprefix Linked here; shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/dirname shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/exists shared tags: #ntpath, #stdlib
- tuts/python3/stdlib_module/ntpath/expanduser shared tags: #ntpath, #stdlib