Start a local http server with Python

You can spawn a simple http server in your localhost with a single line using Python from your command line.

Python 2.x

Python 3.x

Update – 22.11.2017

It seems a better and way more performant solution is available. https://www.npmjs.com/package/http-server

No comments yet, leave yours!

Leave a Reply

Add <code> Some Code </code> by using this tags.