在CMD命令行输入D:

切换到D盘,

然后输入

python -m http.server 8000

开启HTTP服务;

Python3开启Http服务

 

在浏览器地址栏输入

http://localhost:8000/

Python3开启Http服务

 

相关文章: