result.update([(key, data[key]) for key in attrs])
-def equal_lists(left, right):
- Compares two lists and returs True if they contain the same elements, but
- doesn't require that they have the same order.
- if len(left) != len(right):
- del right[right.index(item)]
def object_list_to_table(headings, dict_list):
Converts objects to table-style list of rows with heading: