擅长:python、mysql、java
<p>参考<a href="http://www.python.org/dev/peps/pep-0378/" rel="nofollow">PEP 378 -- Format Specifier for Thousands Separator </a></p>
<blockquote>
<p>The ',' option is defined as shown above for types 'd', 'e', 'f', 'g',
'E', 'G', '%', 'F' and ''. To allow future extensions, it is undefined
for other types: binary, octal, hex, character, etc</p>
</blockquote>