as pyfilesystem2 works internally with unicode strings, some methods (e.g. self._fs.exists()) fail with TypeError if passed bytes strings (on python 2 bytes == str). We decode bytes path strings using the system's default filesystem encoding.
as pyfilesystem2 works internally with unicode strings, some methods (e.g. self._fs.exists()) fail with TypeError if passed bytes strings (on python 2 bytes == str). We decode bytes path strings using the system's default filesystem encoding.