应用python SimpleHTTPServer 快速搭建Web服务器

使用python SimpleHTTPServer 快速搭建Web服务器?python -m SimpleHTTPServer 8080 #不指定端口默认为8000

使用python SimpleHTTPServer 快速搭建Web服务器

?

python -m SimpleHTTPServer 8080 #不指定端口默认为8000

?

? ? 执行上面的命令,就会启动web服务器了,可以下载用户启动路径的文件。一个网友根据SimpleHTTPServer源码写了一个支持上传功能的版本。我贴到附件。

?

应用python SimpleHTTPServer 快速搭建Web服务器

?

?

?

?

?

参考:

http://coolshell.cn/articles/1480.html

http://blog.licess.org/simplehttpserver/

?

--end