Most viewed recipes by Pietro Bernardi http://code.activestate.com/recipes/users/4076246/views/2007-08-19T11:24:51-07:00ActiveState Code Recipessearching in list of maps (Python)
2007-08-19T11:24:51-07:00Pietro Bernardihttp://code.activestate.com/recipes/users/4076246/http://code.activestate.com/recipes/528889-searching-in-list-of-maps/
<p style="color: grey">
Python
recipe 528889
by <a href="/recipes/users/4076246/">Pietro Bernardi</a>
(<a href="/recipes/tags/search/">search</a>).
</p>
<p>Find all occurencies of given map in map list, yielding index of first match and
subsequently indexes of all other found.
All maps in list have the same structure, pattern for search can have the same structure or less keys.</p>