News for hackers. Stuff that matters.
Re:Show HN: PyFilesystem 2.0 – A Python interface to filesys... by m45t3r on Wednesday December 07, 2016 @04:34PM (#13126439)
There is already pathlib in Python's stdlib that do something similar:

>>> p = PurePath('/etc') >>> p PurePosixPath('/etc') >>> p / 'init.d' / 'apache2' PurePosixPath('/etc/init.d/apache2')

And yeah, this uses operator overload. However it does look quite nice.

There are no comments on this comment yet.