What is an easy way in Python to format integers into strings representing thousands with K, and millions with M, and leaving just couple digits after comma?
I\'d li
No String Formatting Operator, according to the docs. I've never heard of such a thing, so you may have to roll your own, as you suggest.