擅长:python、mysql、java
<p>运行<code>python -h</code>,我看到一个<em>命令行选项</em>:</p>
<blockquote>
<p>-u : unbuffered binary stdout and stderr; also PYTHONUNBUFFERED=x
see man page for details on internal buffering relating to '-u'</p>
</blockquote>
<p>这是<a href="http://docs.python.org/using/cmdline.html#cmdoption-u" rel="noreferrer">relevant doc</a>。</p>