./devel/py-pathlib, Object-oriented filesystem paths

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q2, Version: 1.0.1nb1, Package name: py27-pathlib-1.0.1nb1, Maintainer: kamelderouiche

pathlib offers a set of classes to handle filesystem paths. It offers the
following advantages over using string objects:
- No more cumbersome use of os and os.path functions. Everything can be done
easily through operators, attribute accesses, and method calls
- Embodies the semantics of different path types. For example, comparing
Windows paths ignores casing
- Well-defined semantics, eliminating any warts or ambiguities (forward vs
backward slashes, etc.)


Master sites:

Filesize: 48.143 KB

Version history: (Expand)