Searching a large dictionary

Support Desk support.desk.ipg at gmail.com
Tue Sep 22 23:50:11 CEST 2009


I need help searching a large python dictionary. The dictionary is setup
like so

Key[{'item':value,'item2':value,'item3':value,'item4':value,'item5':value','item6':value,'item7':value,'item8':value,'item9':value}]

Key2[{'item':value,'item2':value,'item3':value,'item4':value,'item5':value','item6':value,'item7':value,'item8':value,'item9':value}]

Key3[{'item':value,'item2':value,'item3':value,'item4':value,'item5':value','item6':value,'item7':value,'item8':value,'item9':value}]



What would be the best way to search for a specific value of item1 and add
all the results to a new dictionary? Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090922/42e8e72f/attachment.html>


More information about the Python-list mailing list