Writing a simple python web app

Topher Fischer javert42 at cs.byu.edu
Sat Sep 11 19:27:06 MDT 2010


On 09/11/2010 03:40 PM, Dave Smith wrote:
> I'm creating a very simple web application, and I want to use python. My first guess was that mod_python would provide the easiest entry point. Boy, was I wrong. All the mod_python tutorials spend 80% of their time extolling the virtues of mod_python over CGI, but they are quite lean on specific examples. It's quite disappointing. A natural progression then leads me to mod_wsgi, and since that has equally poor documentation, to Django. However, Django is overkill for my app (I don't even have a database).
>
> What I want is something as simple as PHP. Just let me drop my files in and start editing. I don't want to have to add some configuration directive to httpd.conf for every new file or directory in my web app. I really want to use python for this. I'd be open to alternatives, like PHP, but PHP's YAML support is junk (tried several libraries already, and they all fail to correctly parse the YAML that some other python code produces).
>
> What do you recommend?
>
> --Dave

Have you looked at Google App Engine?  Look over the Python tutorial, 
and see if it's for you.

http://code.google.com/appengine/docs/python/gettingstarted/

--Topher


More information about the PLUG mailing list