[Tutor] When to use % vs. locale.format()?

python at bdurham.com python at bdurham.com
Tue Apr 22 02:33:56 CEST 2008


Are there any best practices guidelines that discuss when one should use
% vs. locale.format?

The locale.format() seems closer to the new new Python 3.0
print-as-a-function vs. statement ... with the added benefit of
localized output.

Malcolm


More information about the Tutor mailing list