python的超简单WEB服务器

转自:

  http://blog.licess.com/simplehttpserver/

  http://www.lpfrx.com/archives/133/

shell中执行:

  python -m SimpleHTTPServer

或者在脚本中加入:

   import SimpleHTTPServer

  SimpleHTTPServer.test()

 
原文地址:https://www.cnblogs.com/yinsua/p/4495188.html