PEP on path module for standard library

Michael Hoffman cam.ac.uk at mh391.invalid
Fri Jul 22 15:31:37 EDT 2005


Peter Hansen wrote:

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

Also works if you use file(path('name')) or open(path('name')).
-- 
Michael Hoffman



More information about the Python-list mailing list