擅长:python、mysql、java
<p>Python附带电池;<a href="http://docs.python.org/2/library/cgihttpserver.html" rel="nofollow">^{<cd1>}</a>将使用CGI标准运行Python脚本:</p>
<blockquote>
<p>The <code>CGIHTTPServer</code> module defines a request-handler class, interface compatible with <code>BaseHTTPServer.BaseHTTPRequestHandler</code> and inherits behavior from <code>SimpleHTTPServer.SimpleHTTPRequestHandler</code> but can also run CGI scripts.</p>
</blockquote>
<p>只要Python脚本具有<code>.py</code>或<code>.pyw</code>扩展名,并且是可执行的,那么它将运行Python脚本;映射到文件的其他路径将被视为常规文件并提供其内容。在</p>
<p>您可能还对<a href="http://docs.python.org/2/library/cgi.html" rel="nofollow">^{<cd4>}</a>和<a href="http://docs.python.org/2/library/cgitb.html" rel="nofollow">^{<cd5>}</a>模块感兴趣,以帮助简化CGI脚本开发。在</p>