PEP on path module for standard library

Peter Hansen peter at
Fri Jul 22 20:25:50 CEST 2005

Stefan Rank wrote:

> (It would be nice to get `path`(s) easily from a `file`, at the moment 
> there is only if I'm not mistaken).

When files are opened through a "path" object -- e.g. 
path('name').open() -- then returns the path object that was 
used to open it.


More information about the Python-list mailing list