[Python-ideas] PEP 428 - object-oriented filesystem paths
Joachim König
him at online.de
Tue Oct 9 21:30:15 CEST 2012
On 09.10.2012 19:11, Eric V. Smith wrote:
> But then you'd have to say:
>
> pathA + ("file.txt",)
>
> right?
>
> That doesn't seem very friendly.
>
You could of course write:
pathA + "/file.txt"
because with a separator it's still explicit. But this requires
clarification
because "/file.txt" could be considered an absolut path. But IMO the
string additionen should be concatenation. YMMV.
Joachim
More information about the Python-ideas
mailing list