(Jun-02-2019, 06:23 PM)Yoriz Wrote: Loop through the list of dict's, checking if status is on and is registered is yes and add the ones that are to a new list.
I don't need that dictionary if it is on and registered.
If that dictionary say colorkey:red is both on and registered, then I need the dictionary in a second list of dictionaries, that also contains the key vale colorkey:red.
I am working with two lists of dictionaries. The first has the on and registered key values. The second does not.
If any dictionary in the second list is not on OR not registered, then I do not need it.
If any dictionary in the second list is BOTH on and registered, then I do need it.
So I need to loop through the first list of dictionaries to find all that are both on and registered... and then?