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.html

Python 2.X

python -m SimpleHTTPServer 8000
相關文章
相關標籤/搜索