[OT] absolute vs. relative URI

Chris Angelico rosuav at gmail.com
Fri Jan 23 18:48:45 CET 2015


On Sat, Jan 24, 2015 at 3:00 AM, Chris Warrick <kwpolska at gmail.com> wrote:
> 5. especially old-style %-based string formatting!

Please. There's nothing wrong with %-style formatting. It's not
deprecated, and never will be; and it has the advantage of being
cross-language compatible. I was speaking with a Python student
yesterday who didn't understand the {} notation, but grokked "%d + %d
= %d" % (x, y, x+y) instantly, thanks to experience with other
languages.

Use of % formatting is not a bug.

ChrisA



More information about the Python-list mailing list