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

4.在浏览器输入 http://localhost:8888/. 测试,然后就可以浏览网页
上一篇: NumPy 学习笔记(一)
下一篇: Python之路【第八篇】:Python
51930
51702
42019
38858
33345
30315
28957
23970
23885
22251
382°
2588°
3261°
2713°
2701°
3430°
2657°
3497°
5766°
5541°