概述:使用python开启http服务

[toc]

python 开启 http 服务

在需要开启http服务的文件件运行一下命令即可:

1
2
3
python -m SimpleHTTPServer 8080
# 或者
python -m http.server 8080