10.08.19 22:10, Glenn Linderman пише:
As pointed out elsewhere, Raw strings have limitations, paths ending in
\ cannot be represented, and such do exist in various situations, not
all of which can be easily avoided... except by the "extra character
contortion" of "C:\directory\ "[:-1] (does
On 8/10/2019 10:30 PM, Rob Cliffe via Python-Dev wrote:
On 10/08/2019 23:30:18, Greg Ewing wrote:
Rob Cliffe via Python-Dev wrote:
Also, the former is simply more *informative* - it tells the reader
that baz is expected to be a directory, not a file.
On Windows you can usually tell that f
On Sat, Aug 10, 2019 at 12:10:55PM -0700, Glenn Linderman wrote:
> Or invent "really raw" in some spelling, such as rr"c:\directory\"
> or e for exact, or x for exact, or here>"c:\directory\"
>
> And that brings me to the thought that if \e wants to become an
> escape for escape, that maybe
On Sun, 11 Aug 2019 at 03:37, Rob Cliffe via Python-Dev
wrote:
> Usually, but not always. I have not infrequently used files with a
> blank extension.
> I can't recall using a directory name with an extension (but I can't
> swear that I never have).
I've often seen directory names like "1. Overv
On 8/11/2019 1:26 AM, Serhiy Storchaka wrote:
10.08.19 22:10, Glenn Linderman пише:
As pointed out elsewhere, Raw strings have limitations, paths ending
in \ cannot be represented, and such do exist in various situations,
not all of which can be easily avoided... except by the "extra
character
On 8/11/2019 2:50 AM, Steven D'Aprano wrote:
On Sat, Aug 10, 2019 at 12:10:55PM -0700, Glenn Linderman wrote:
Or invent "really raw" in some spelling, such as rr"c:\directory\"
or e for exact, or x for exact, or "c:\directory\"
And that brings me to the thought that if \e wants to become an
On 8/11/2019 4:18 PM, Glenn Linderman wrote:
On 8/11/2019 2:50 AM, Steven D'Aprano wrote:
On Sat, Aug 10, 2019 at 12:10:55PM -0700, Glenn Linderman wrote:
Or invent "really raw" in some spelling, such as rr"c:\directory\"
or e for exact, or x for exact, or "c:\directory\"
And that brings me t
On 8/11/2019 8:40 PM, Eric V. Smith wrote:
On 8/11/2019 4:18 PM, Glenn Linderman wrote:
On 8/11/2019 2:50 AM, Steven D'Aprano wrote:
On Sat, Aug 10, 2019 at 12:10:55PM -0700, Glenn Linderman wrote:
Or invent "really raw" in some spelling, such as rr"c:\directory\"
or e for exact, or x for exa