On this page
posix.times_result
Prev: posix.terminal_size | Up: posix | Next: posix.uname_result
Rel: posix.abort, posix.access, posix.chdir, posix.chflags
Ref: docs.python.org โ posix.times_result
Tags: #public #python3 #stdlib #posix
Import
import posix
from posix import times_result
Signature & Overview
posix.times_result(iterable=(), /)
times_result: Result from os.times().
Methods & Attributes
times_result.count(self, value, /)โ Return number of occurrences of value.times_result.index(self, value, start=0, stop=9223372036854775807, /)โ Return first index of value.
Usage
import os
assert isinstance(os.times(), os.times_result)
Gotchas
- Import via
os.times_result.
REPL Inspect
from posix import times_result
help(times_result)
Linked from
Related notes
- tuts/python3/stdlib_module/posix/terminal_size Linked here; links to this page; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/uname_result Linked here; links to this page; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/posix/abort Linked here; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/access Linked here; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/chdir Linked here; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/chflags Linked here; shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/chmod shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/chown shared tags: #posix, #stdlib
- tuts/python3/stdlib_module/posix/chroot shared tags: #posix, #stdlib