擅长:python、mysql、java
<p>它在您提到的文档中,但在<a href="http://docs.python.org/2/library/string.html#format-string-syntax" rel="noreferrer">Format String Syntax</a>下。在</p>
<blockquote>
<p>The field_name is optionally followed by a conversion field, which is preceded by an exclamation point '!', and a format_spec, which is preceded by a colon ':'. These specify a non-default format for the replacement value.</p>
</blockquote>