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

Sven R. Kunze srkunze at mail.de
Wed Mar 30 06:05:55 EDT 2016


On 30.03.2016 05:25, Random832 wrote:
> On Tue, Mar 29, 2016, at 17:39, Ethan Furman wrote:
>>
>> An interesting idea, but how would you differentiate between relative
>> and absolute paths?
> Path.ROOT/absolute/path
> Path.DOT/relative/path

Very interesting. I like how it looks with variables.

But I have to admit I don't like the look so much with regards to string 
literals. This is where the format string really shines.


Best,
Sven


More information about the Python-ideas mailing list