Python的内置HTTP服务器
# Python在标准库中内置了一个HTTP服务器。这是超级方便的网站预览。
# Python 3.x
$ python -m http.server
# Python 2.x
$ python -m SimpleHTTPServer 8000
# Python在标准库中内置了一个HTTP服务器。这是超级方便的网站预览。
# Python 3.x
$ python -m http.server
# Python 2.x
$ python -m SimpleHTTPServer 8000