Skip to content

Instantly share code, notes, and snippets.

@scottsappen
Created July 1, 2013 15:36
Show Gist options
  • Save scottsappen/5901921 to your computer and use it in GitHub Desktop.
Save scottsappen/5901921 to your computer and use it in GitHub Desktop.
Super simple Python web server. Netcat and various other utilities make it so easy to run a simple web server on your machine, but so does Python.
Here’s how you can run it on a Windows machine, but works quite well on Linux too (or Cygwin).
C:\>python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment