Skip to content

Instantly share code, notes, and snippets.

@dnshl
Created December 17, 2011 13:32
Show Gist options
  • Save dnshl/1490219 to your computer and use it in GitHub Desktop.
Save dnshl/1490219 to your computer and use it in GitHub Desktop.
Python one liner starts a HTTP server in the current directory.
# Python 2.x:
python -m SimpleHTTPServer
# Python 3.x:
python -m http.server 8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment