>> On Mar 30, 2016 01:07, "Ethan Furman" wrote:
>
>
>>> Please provide an example of both a relative and an absolute path
>>> construction using `P`.
>>
>>
>> P/'relative/path'
>>
>> P/'/absolute/path'
>
>
> Thank you.
>
> So under this system a relative path appears with one leading slash, and an absolute path appears with two leading slashes.
>
> Can't say I'm a fan. :(
>I'll have to agree. But to be fair, Greg wrote something like 'a suitable seed object' so we could for ex. have P=PathSeed(), and use another operator.
P@'rel/path'
P@'/abs/path'
Dunno.
-K@mobile
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/