Simple Python Webserver

While toying around with load-balancers I also re-discovered at the same time how easy it is to serve a directory in a local webserver on a specific port in python. Just change to the directory and type:

python -m SimpleHTTPServer 8000

or choose a different port than 8000.

That is pretty handy if you quickly want to start several different web servers on your local computer.

Comments