4 ms·
> file and directory manipulations are way more complicated in native Python Have you looked at the pathlib[1] module that was added in Python 3.4? It's fantas
by ptx 6y ago
> file and directory manipulations are way more complicated in native Python
Have you looked at the pathlib[1] module that was added in Python 3.4? It's fantastic. Makes things both more convenient and more correct, in my experience, and it lets you manipulate Windows paths on Unix and vice versa.
[1] https://docs.python.org/3/library/pathlib.html https://docs.python.org/3/library/pathlib.html