What does zip return in the following piece of code?

curs.execute('select * from people')
colnames = [desc[0] for desc in curs.description]
rowdicts = []
for row in curs.fetchall():
           rowdicts.append(dict(zip(colnames, row)))

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to