Home
/
Python 3.11
/
OS
/
fspath
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
OS
fspath
Python 3.11
Return the file system representation of the path.
Syntax
PYTHON
Copy
os.fspath(path)
See Also
str
bytes
__fspath__()
str
bytes
TypeError