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

genericpath.getatime

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


Import

import genericpath
from genericpath import getatime

Signature & Overview

genericpath.getatime(filename)

Return the last access time of a file, reported by os.stat().

Usage

import os

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

Gotchas

REPL Inspect

from genericpath import getatime
help(getatime)

Linked from

Related notes