Skip to content

Instantly share code, notes, and snippets.

@zxhfighter
Created November 4, 2013 03:30
Show Gist options
  • Save zxhfighter/7297711 to your computer and use it in GitHub Desktop.
Save zxhfighter/7297711 to your computer and use it in GitHub Desktop.
use python to start a server

使用python托管文件夹

  • python 3.X: 输入python -m http.server
  • python 2.X: 输入python -m SimpleHTTPServer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment