Skip to main content

is_remote

Let's find a replacement

def is_remote(
path: typing.Union[pathlib.Path | str]
) - > bool

Let's find a replacement

Parameters

NameTypeDescription
path`typing.Union[pathlib.Pathstr]`

Returns

TypeDescription
boolTrue if the path refers to a remote resource (i.e., its protocol is not 'file'), False otherwise.