In python how would you iterate through a list (column names) and a list of tuples (row values) in order to build a list of dictionaries? The keys always being generated from the first array and the values generated from each tuple?
col = ['id', 'username', 'email']
rows = [('1234', 'first', 'first@email.com'), ('5678', 'second', 'second@email.com')]
result = [{'id':'1234', 'username':'first', 'email':'first@email.com'},{'id':'5678', 'username':'second', 'email':'second@email.com'}]