4 ms·
check out path.py https://github.com/dottedmag/path.py https://github.com/dottedmag/path.py it's awesome for dealing with paths instead of having to do stuff
by kami8845 15y ago
check out path.py
https://github.com/dottedmag/path.py https://github.com/dottedmag/path.py
it's awesome for dealing with paths
instead of having to do stuff like
os.path.abspath(os.path.join(os.path.join(x,y),z))
everytime, it gives you nice abstractions like
path('/home/me').files('*.jpg')
- wiredfool 15y agoOs.path.join can take more than two arguments. So it's not as bad as that example.