serhii.net

In the middle of the desert you can say anything you want

22 Feb 2021

Day 783

Python to read

Python path / pathlib

The python3 way to work with paths seems to be pathlib — Object-oriented filesystem paths — Python 3.9.2 documentation, not the old os.path.*

Split is Path (close to really-existing things), and PurePath - abstract paths, without connection to any real filesystem.

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus