On Wed, Nov 18, 2009 at 5:11 AM, Amit Sethi <amit.pureene...@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
app:
http://docs.python.org/library/wsgiref.html#wsgiref.simple_server.make_server

If you want something more than that, look at the list here:
http://www.wsgi.org/wsgi/Servers

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

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to