Post

Python3 自带的 http 服务

Python3 自带的 http 服务

没办法,经常忘记。

Python3 中将原来的 SimpleHTTPerver 命令改为 http.server ,用法如下:

1
2
cd web-docs
nohup python3 -m http.server 8081 2>&1 &

so so .

参考

EOF

This post is licensed under CC BY 4.0 by the author.