Skip to content

Python Local Web Server

vvoovv edited this page May 3, 2012 · 1 revision

If you don't have a local web server on your computer to serve static files, here is an easy way how to setup one.

Download and install Python.

In the command line change to the top directory of your static files. Then execute:

path/to/python -m SimpleHTTPServer

Point your web browser to your static content with a url like this:

http://localhost:8000/path/to/your/content

The path to the content should be inside the top directory mentioned above.

Enjoy!