Open
Description
python 开启http服务
> 概述:使用python开启http服务
[toc]
python 开启 http 服务
在需要开启http服务的文件件运行一下命令即可:
python -m SimpleHTTPServer 8080
# 或者
python -m http.server 8080
blog link python 开启http服务
8000
python 开启http服务
> 概述:使用python开启http服务
[toc]
在需要开启http服务的文件件运行一下命令即可:
python -m SimpleHTTPServer 8080
# 或者
python -m http.server 8080
blog link python 开启http服务