.format vs. %

Ethan Furman ethan at stoneleaf.us
Tue Jan 3 15:16:59 EST 2012

Devin Jeanpierre wrote:
>> "one obvious way" != "only one way"
> Which way is the obvious way? Why is it obvious?

Apparently, %-style is obvious to C and similar coders, while {}-style 
is obvious to Java and similar coders.



More information about the Python-list mailing list