[Python-ideas] Working with Path objects: p-strings?
Ethan Furman
ethan at stoneleaf.us
Tue Mar 29 18:16:10 EDT 2016
On 03/29/2016 03:10 PM, Koos Zevenhoven wrote:
> 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. :(
--
~Ethan~
More information about the Python-ideas
mailing list