PyDocs

Nav

Importing Modules

Traversable

An object with a subset of pathlib.Path methods suitable for
traversing directories and opening files.

Any exceptions that occur when accessing the backing resource
may propagate unaltered.
Members of Traversable

_

__truediv__
Return Traversable child in self

i

is_dir
Return True if self is a directory
is_file
Return True if self is a file
iterdir
Yield Traversable objects in self

j

joinpath
Return Traversable resolved with any descendants applied.

n

name
The base name of this object without any parent references.

o

open
mode may be 'r' or 'rb' to open as text or binary.

r

read_bytes
Read contents of self as bytes
read_text
Read contents of self as text
0 Examples
No examples for importlib.resources.abc/Traversable.
See Also
No see-alsos for importlib.resources.abc/Traversable
0 Notes
No notes for Traversable