ID EN
OS

fspath

Python 3.11

Return the file system representation of the path.

Syntax

PYTHON
os.fspath(path)

See Also

str bytes __fspath__() str bytes TypeError