3 ms·
Would this work with any object implementing the PathLike interface introduced in Python 3.6 ?
by teilo 10y ago
Would this work with any object implementing the PathLike interface introduced in Python 3.6 ?
- billowycoat 10y agoYou generally won't need to. PyFilesystem hides the differences between paths from you (https://pyfilesystem2.readthedocs.io/en/latest/concepts.html#paths https://pyfilesystem2.readthedocs.io/en/latest/concepts.html...). An exception would be in the constructor for OSFS Objects, which take a system path. I'll look in to adding support there...