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

4.在浏览器输入 http://localhost:8888/. 测试,然后就可以浏览网页
上一篇: NumPy 学习笔记(一)
下一篇: Python之路【第八篇】:Python
52284
52190
42344
39226
33707
30667
29382
24329
24208
22573
21°
22°
178°
176°
190°
186°
226°
406°
434°
438°