I'm currently doing this:
cursor.execute('SELECT thing_id, thing_name FROM things')
things = [];
for row in cursor.fetchall():
things.append(dict([('thing_id',row[0]),
('thing_name',row[1])
]))
Is there some shorthand I can use to do this, or should I write a little helper function?