os.path.isfile

Erik python at lucidity.plus.com
Sun Feb 12 19:40:44 EST 2017


On 13/02/17 00:34, Chris Angelico wrote:
> The unit "\t" always means U+0009, even if it's following a raw string
> literal; and the unit "\d" always means "\\d", regardless of the
> rawness of any of the literals involved. The thing that's biting you
> here is that unrecognized escapes get rendered as backslash followed
> by letter, which is why that now produces a warning.

Yes, and I'm with you (we just cross-posted).

FWIW, if you'd have written the above as your first response I wouldn't 
have argued ;) You alluded to it, for sure ... :D

E.




More information about the Python-list mailing list