python启动简单httpserver

python3

1
python3 -m http.server --bind 127.0.0.1 8080

python2

1
python -m SimpleHTTPServer 8000