[Tutor] python wsgi

Kent Johnson kent37 at tds.net
Wed Nov 18 16:56:42 CET 2009

On Wed, Nov 18, 2009 at 5:11 AM, Amit Sethi <amit.pureenergy at gmail.com> wrote:
> Hi ,
> How do I run a python script using wsgi? I am not using any web
> framework I just wish to try out running a simple script.

You need to run a WSGI-compliant server and configure it to host your
application. The std lib contains a simple reference server in
wsgiref, the make_server() example shows how to use it to run a demo

If you want something more than that, look at the list here:

If I were to pick from that list for simple testing I would try CherryPy.


More information about the Tutor mailing list