Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26216 > unrolled thread
| Started by | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| First post | 2012-07-29 21:49 +0000 |
| Last post | 2012-07-29 21:49 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
ANN: pathlib 0.7 Antoine Pitrou <solipsis@pitrou.net> - 2012-07-29 21:49 +0000
| From | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| Date | 2012-07-29 21:49 +0000 |
| Subject | ANN: pathlib 0.7 |
| Message-ID | <mailman.2704.1343598584.4697.python-list@python.org> |
Hello, pathlib 0.7 has been released with the following changes: - Add '**' (recursive) patterns to Path.glob(). - Fix openat() support after the API refactoring in Python 3.3 beta1. - Add a *target_is_directory* argument to Path.symlink_to() 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.). PyPI download page at http://pypi.python.org/pypi/pathlib/ Documentation at http://pathlib.readthedocs.org/en/latest/ Code and issue tracker at https://bitbucket.org/pitrou/pathlib/ Regards Antoine Pitrou. -- Software development and contracting: http://pro.pitrou.net
Back to top | Article view | comp.lang.python
csiph-web