擅长:python、mysql、java
<p>我不确定您使用的是哪个python版本,但请检查<a href="https://docs.python.org/2/library/simplehttpserver.html" rel="nofollow noreferrer">SimpleHTTPServer — Simple HTTP request handler python doc</a></p>
<p>我试过:<code>python -m http.server 8000 bind 127.0.0.1</code>它代替了<code>SimpleHTTPServer</code></p>