Dictionaries of Lists

gf gf unknownsoldier93 at yahoo.com
Tue Mar 8 00:09:13 EST 2005


I'd like to associate certain lists with keywords, and
retrieve them.  But this is not possible as lists are
not hashable.

What is the best workaround?  I don't mind making my
lists immutable.  Is there a way to tupelize them?
I tried mydict[mykey]=([a for a in list]) but it
didn't seem to work.

Thanks!

PS If possible please cc me on all responses.



	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/



More information about the Python-list mailing list