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

posixpath.getatime

Prev: posixpath.expandvars | Up: posixpath | Next: posixpath.getctime
Rel: posixpath.abspath, posixpath.basename, posixpath.commonpath, posixpath.commonprefix
Ref: docs.python.org — posixpath.getatime
Tags: #public #python3 #stdlib #posixpath


Import

import posixpath
from posixpath import getatime

Signature & Overview

posixpath.getatime(filename)

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

Usage

import posixpath

assert posixpath.getatime('.') > 0

Gotchas

REPL Inspect

from posixpath import getatime
help(getatime)

Linked from

Related notes