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阅读(2279)
1.cd 到指定目录
2.运行命令
python 3之前
python -m SimpleHTTPServer 8888 &
python 3+
python -m http.server 8888 &
3.运行后:

4.在浏览器输入 http://localhost:8888/. 测试,然后就可以浏览网页
上一篇: NumPy 学习笔记(一)
下一篇: Python之路【第八篇】:Python
51742
51417
41833
38602
33100
30093
28761
23761
23673
22041
65°
2267°
2960°
2465°
2411°
3005°
2420°
3224°
5313°
5134°