Python3 简易服务器
python -m http.server 80
或 python3 -m http.server 80
会看到如下输出:
Serving HTTP on 0.0.0.0 port 80 (http://0.0.0.0:80/) ...
本文介绍了如何使用Python3内置的http.server模块快速创建一个本地HTTP服务器,监听80端口,便于本地文件共享和测试网页。只需运行'python3 -m http.server 80',服务器即开始提供服务。
Python3 简易服务器
python -m http.server 80
或 python3 -m http.server 80
会看到如下输出:
Serving HTTP on 0.0.0.0 port 80 (http://0.0.0.0:80/) ...
1277

被折叠的 条评论
为什么被折叠?