On this page
  1. posix.stat_result
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

posix.stat_result

Prev: posix.geteuid | Up: posix | Next: posix.statvfs_result
Rel: posix.abort, posix.access, posix.chdir, posix.chflags
Ref: docs.python.org โ€” posix.stat_result
Tags: #public #python3 #stdlib #posix


Import

import posix
from posix import stat_result

Signature & Overview

posix.stat_result(iterable=(), /)

stat_result: Result from stat, fstat, or lstat.

Methods & Attributes

Usage

import os

assert isinstance(os.stat('.'), os.stat_result)

Gotchas

REPL Inspect

from posix import stat_result
help(stat_result)

Linked from

Related notes