[Tutor] comparing lists of dictionaries

ski norman at khine.net
Mon Mar 9 22:56:49 CET 2009

i was looking to list all the items in list1 that are not in list2 based 
on the key['id] and key['affiliation'] respectively.


Kent Johnson wrote:
> On Mon, Mar 9, 2009 at 4:20 PM, ski <norman at khine.net> wrote:
>> what am i missing here, i would like to get a list of the diff between list1
>> and list2
> What do you mean by diff in this case? Items in one list and not in
> the other?  Items that are in both lists but with different elements?
> What elements do you want to use for the comparison?
> Kent

More information about the Tutor mailing list