Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77484 > unrolled thread

[ANN] pathlib 1.0.1

Started byAntoine Pitrou <antoine@python.org>
First post2014-09-03 15:58 +0000
Last post2014-09-09 07:36 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  [ANN] pathlib 1.0.1 Antoine Pitrou <antoine@python.org> - 2014-09-03 15:58 +0000
    Re: [ANN] pathlib 1.0.1 thequietcenter@gmail.com - 2014-09-09 07:36 -0700

#77484 — [ANN] pathlib 1.0.1

FromAntoine Pitrou <antoine@python.org>
Date2014-09-03 15:58 +0000
Subject[ANN] pathlib 1.0.1
Message-ID<mailman.13739.1409759940.18130.python-list@python.org>
Hello,

I am announcing the release of pathlib 1.0.1.  This version makes pathlib
Python 2.6-compatible. Note that 2.6 compatibility may not have been as
well tested as more recent Python versions (especially on non-Unix 
platforms).

As a reminder, the standalone (PyPI) version of pathlib will not receive
any new features or general improvements. New developments and regular
bug fixes will happen mostly in the Python standard library, and be
publicly available in official Python releases.

See https://pypi.python.org/pypi/pathlib

Overview
--------

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

Requirements
------------

Python 3.2 or later is recommended, but pathlib is also usable with Python
2.6 and 2.7.

Install
-------

In Python 3.4, pathlib is now part of the standard library.  For Python 3.3
and earlier, ``easy_install pathlib`` or ``pip install pathlib`` should do
the trick.

Changelog for version 1.0.1
---------------------------

- Pull request #4: Python 2.6 compatibility by eevee.

Regards

Antoine.

[toc] | [next] | [standalone]


#77732

Fromthequietcenter@gmail.com
Date2014-09-09 07:36 -0700
Message-ID<99ada096-77c0-4030-a09c-ef53b05b58c8@googlegroups.com>
In reply to#77484
On Wednesday, September 3, 2014 11:58:47 AM UTC-4, Antoine Pitrou wrote:

> 
> pathlib offers a set of classes to handle filesystem paths.  

How does it differ from path.py?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web