codes = map(lambda x: x[0], list1) for d in list2: if d['code'] in codes: d['VERIFIED'] = 1
Is this what you were looking for? -- http://mail.python.org/mailman/listinfo/python-list
codes = map(lambda x: x[0], list1) for d in list2: if d['code'] in codes: d['VERIFIED'] = 1
Is this what you were looking for? -- http://mail.python.org/mailman/listinfo/python-list