[Python-ideas] Working with Path objects: p-strings?
Random832
random832 at fastmail.com
Tue Mar 29 23:25:33 EDT 2016
On Tue, Mar 29, 2016, at 17:39, Ethan Furman wrote:
> On 03/29/2016 02:30 PM, Greg Ewing wrote:
> > Paul Moore wrote:
> >>
> >> P(wherever)/youwant/togo
> >
> > If P were a suitable seed object, this could be
> >
> > P/wherever/youwant/togo
>
> An interesting idea, but how would you differentiate between relative
> and absolute paths?
Path.ROOT/absolute/path
Path.DOT/relative/path
More information about the Python-ideas
mailing list