WSGI is pretty cool stuff - I messed around with cherrypy today, and enjoyed what I found. For a fairly small codebase its quite flexible and competent. I was reading a bunch of code from moinmoin and pycoon and took some notes...
moinmoin notes:
lists = [1,2,3] tuples = (1,2,3) dictionaries = {1: "ablh"}
The colon is a great character, and python makes swell use of it.
I've been reading up on CherryPy too - this is a great read. They have a page of templates and they don't trash talk xslt - good! :-)
I haven't actually tried out Paste yet, but the docs are very good. They explain a lot of what WSGI applications are all about. I read up on the WSGI spec too.
That leads me to another thought - I need to get more comfortable with how the python libraries and packages are installed. I may be wrong, but it feels like the packaging and path setup for python is a little haphazard.
Just some comparison notes...
PHP foreach:
$blah = array("a","b","c"); foreach ($blah as $barf){ echo $barf; }
Python for:
blah = ["a","b","c"] for barf in blah: print barf
My personal opinions: