python 快速建立http服务的方法

mac2022-06-30  63

进入到我们想要建立http服务的目录后,直接在终端敲 python -m http.server 端口号 就可以开启http服务,

python2或者低版本,直接敲 python -m SimpleHTTPServer 端口号

 

 局域网内可以通过IP:port进行访问目录下http页面

转载于:https://www.cnblogs.com/big26/p/11451372.html

最新回复(0)