pkgsrc/devel/py-pathlib/DESCR
wiz 94c35bec11 Import py-pathlib-1.0.1 as devel/py-pathlib.
Packaged for wip by Kamel Ibn Aziz Derouiche and myself.

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.)
2017-08-29 06:55:55 +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.)