Nice article by Scott Scriven on using Python's syntactic overloading features to make RDBMS access simpler and cleaner. Of course this depends on your data model, but once you've got that straight most of the techniques Scriven presents are readily applicable. Highly useful for Web development in Python.