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

4.在浏览器输入 http://localhost:8888/. 测试,然后就可以浏览网页
上一篇: NumPy 学习笔记(一)
下一篇: Python之路【第八篇】:Python
51583
51165
41673
38436
32920
29896
28610
23571
23507
21859
2010°
2721°
2275°
2199°
2667°
2220°
2974°
4906°
4753°
3381°