PyDocs

Nav

Generic Operating System Services

fsdecode

os

function · Added in 3.2 (source)
  • fsdecode(filename)
Decode filename (an os.PathLike, bytes, or str) from the filesystem
encoding with 'surrogateescape' error handler, return str unchanged. On
Windows, use 'strict' error handler if the file system encoding is
'mbcs' (which is the default encoding).
Changed in 3.6
  • 3.6: Support added to accept objects implementing the os.PathLike interface.
0 Examples
No examples for os/fsdecode.
See Also
No see-alsos for os/fsdecode
0 Notes
No notes for fsdecode