擅长:python、mysql、java
<p>在类似的情况下,我按以下方式更改代码:</p>
<p>从</p>
<pre><code>...
print "Content-type: text/html\n\n"
print"<html>"
...
</code></pre>
<p>到</p>
^{pr2}$
<p>在我的例子中,我使用了另一种打印形式</p>
<pre><code>...
print("Content-type: text/html")
print("")
print("<html>")
...
</code></pre>