python 静态文件服务器

Python 3.X

python3 -m http.server 8000 --bind 127.0.0.1 

Both port and bind address are optional. For more details, please read the official docs.

Python 2.X

python -m SimpleHTTPServer 8000

你可能感兴趣的:(webserver,python)