Today at work I needed a http server with python to test a script that outputs something to the web. I couldn't find one near by. hadn't the time nor the will to setup one, I just postponed the task to another moment. Few seconds later WSGI came to my mind. Yes, why searching for python server when there is a http server in the paste package ? All I need is two lines of code:
voila !
from paste import httpserver
httpserver.serve(my_wsgi_app, host='127.0.0.1', port='8080')
voila !