1.cd 到指定目录
2.运行命令
python 3之前
python -m SimpleHTTPServer 8888 &
python 3+
python -m http.server 8888 &
3.运行后:

4.在浏览器输入 http://localhost:8888/. 测试,然后就可以浏览网页
发布时间:2019-05-29 21:26:02编辑:auto阅读(2320)
1.cd 到指定目录
2.运行命令
python 3之前
python -m SimpleHTTPServer 8888 &
python 3+
python -m http.server 8888 &
3.运行后:

4.在浏览器输入 http://localhost:8888/. 测试,然后就可以浏览网页
上一篇: NumPy 学习笔记(一)
下一篇: Python之路【第八篇】:Python
51931
51708
42022
38862
33350
30318
28961
23972
23889
22252
394°
2592°
3263°
2721°
2706°
3442°
2663°
3502°
5775°
5552°