"Jonathan Gardner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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?
>
That is exactly what I was looking for. I will have to take a look at m
"Jonathan Gardner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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?
>
Actually, this is not exactly what I was looking for. I failed to reali
I have two lists of data like the following:
LIST1
[[5L, 1L, 1L, 'Personal Information'], [14L, 2L, 1L, '']]
LIST2
[{'code': 5L, 'name': 'First Name', 'value': [''], 'label': 'First Name',
'width': 0L, 'separator': ',', 'height': 0L, 'type': 2L, 'order': 1L},
{'code': 14L, 'name': 'Last Name',