tfds.core.ReadOnlyPath

Protocol for read-only methods of pathlib.Path-like API.

See pathlib.Path documentation.

parent

parents

Methods

as_posix

View source

as_uri

View source

exists

View source

Returns True if self exists.

expanduser

View source

Returns a new path with expanded ~ and ~user constructs.

glob

View source

Yielding all matching files (of any kind).

is_absolute

View source

is_dir

View source

Returns True if self is a dir.

is_file

View source

Returns True if self is a file.

is_reserved

View source

iterdir

View source

Iterates over the directory.

joinpath

View source

match

View source

open

View source

Opens the file.

read_bytes

View source

Reads contents of self as bytes.

read_text

View source

Reads contents of self as bytes.

relative_to

View source

resolve

View source

Returns the absolute path.

rglob

View source

Yielding all matching files recursivelly (of any kind).

with_name

View source

with_suffix

View source

__ge__

View source

Return self>=value.

__gt__

View source

Return self>value.

__le__

View source

Return self<=value.

__lt__

View source

Return self<value.

__rtruediv__

View source

__truediv__

View source