使用pyton在本地指定目录模拟服务器时间:2023-03-09 09:56:03 1.cd 到指定目录 2.运行命令 python 3之前 python -m SimpleHTTPServer & python 3+ python -m http.server & 3.运行后: 4.在浏览器输入 http://localhost:8888/. 测试,然后就可以浏览网页