On this page
  1. genericpath.getctime
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

genericpath.getctime

Prev: genericpath.getatime | Up: genericpath | Next: genericpath.getmtime
Rel: genericpath.commonprefix, genericpath.exists, genericpath.getatime, genericpath.getmtime
Ref: docs.python.org — genericpath.getctime
Tags: #public #python3 #stdlib #genericpath


Import

import genericpath
from genericpath import getctime

Signature & Overview

genericpath.getctime(filename)

Return the metadata change time of a file, reported by os.stat().

Usage

import os

assert os.path.getctime(".") > 0

Gotchas

REPL Inspect

from genericpath import getctime
help(getctime)

Linked from

Related notes