终端输入命令: python -m SimpleHTTPServer 会开启一个端口为8000的本地服务器。 转载于:https://www.cnblogs.com/hd1992/p/5363537.html