Ridiculously simple http server

By eidias on (tags: python, categories: tools)

There are times when you need to have a small, easy to set up http server. Most of the time, you’ll think – node and yes, if you have it – a great choice. But there’s another option…

if you’re running python 3:

   1: python -m http.server 8000

if you’re running python 2:

   1: python -m SimpleHTTPServer 8000

That spins up a http server in your current directory on port – yes, you guessed it - 8000

Cheers