Categories
python web

用python创建最简单的HTTP服务

python2:

python -m SimpleHTTPServer 8080

python3:

python3 -m http.server 8080

参考:https://docs.python.org/2/library/simplehttpserver.html

 

have a fun!

0 replies on “用python创建最简单的HTTP服务”

Leave a Reply

Your email address will not be published. Required fields are marked *