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