pkgsrc-wip/py-pathlib/DESCR
Kamel Ibn Aziz Derouiche 28aebd211b Import py27-pathlib-1.0.1 as wip/py-pathlib.
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.)
2015-07-03 18:49:26 +00:00

8 lines
470 B
Text

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.)