如果是python 2.x的系列里面 这样启动一个web服务器:
python -m SimpleHTTPServer 8080
如果是Python 3,用下面的语句也可以启动一个http服务:
python3 -m http.server 8000