while learning some basic programming with python, i found web.py. i got stuck with a stupid problem:
i wrote a simple console app with a main loop that proccesses items
or just use Tornado, a non-blocking webserver for Python that has an API similar to webpy - http://www.tornadoweb.org/