起序:总结不同版本的 Python 开启 HTTP 服务。 一、Python2 python2 -m SimpleHTTPServer 8888 二、Python3 python3 -m http.server 8888 三、访问 如果对您有帮助,点个赞再走吧。