[Python-ideas] Working with Path objects: p-strings?

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 29 17:30:02 EDT 2016


Paul Moore wrote:
> 
> P(wherever)/youwant/togo

If P were a suitable seed object, this could be

   P/wherever/youwant/togo

Why do we think we need special syntax for this? If it's
just to avoid having to import stuff, that can be addressed
by adding to the builtins.

-- 
Greg


More information about the Python-ideas mailing list