Python开启HTTP服务

Python <= 2.3
python -c "import SimpleHTTPServer as s; s.test();" 8000

Python >= 2.4
python -m SimpleHTTPServer 8000

Python 3.x
python -m http.server 8000

原文地址:https://www.cnblogs.com/orange777/p/10783499.html