.format vs. %

Ethan Furman ethan at stoneleaf.us
Mon Jan 2 17:00:07 EST 2012


Andrew Berg wrote:
> On 12/31/2011 12:19 PM, davidfx wrote:
>> Should we always be using .format() for formatting strings or %?
 >>
> %-style formatting will eventually go away, but
> probably not for a long time.

%-style formatting isn't going away.

~Ethan~



More information about the Python-list mailing list