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

os.statvfs_result

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


Import

import os
from os import statvfs_result

Signature & Overview

os.statvfs_result(iterable=(), /)

statvfs_result: Result from statvfs or fstatvfs.

Methods & Attributes

Usage

import os

if hasattr(os, "statvfs"):
    res = os.statvfs(".")
    assert isinstance(res, os.statvfs_result) and res.f_frsize > 0

Gotchas

REPL Inspect

from os import statvfs_result
help(statvfs_result)

Linked from

Related notes