Python启动http服务器

Python 2.x版本

python2 -m SimpleHTTPServer 8080

Python 3.x版本

python3 -m http.server 8080

你可能感兴趣的:(python)