Now this is very cute :


[(f.title,f.key())
for f in db.GqlQuery("select * from Film order by title")]

See that? A GQL (query language for GAE) query object automatically supports iteration, so you can use it in a list comprehension.

OK … better start finding out about Google App. Engine

Damn! Don’t think I was in the first 10,000 applicants for a beta … got the downloadable development environment though … watch this space …

Update : Actually, I did get one … 🙂