[Tutor] two way dictionary

Kent Johnson kent37 at tds.net
Wed Nov 28 20:16:28 CET 2007


ingo janssen wrote:
> Is there a dict that works "both ways"?

Some discussion here:
http://groups.google.com/group/comp.lang.python/tree/browse_frm/thread/c5ab5cf524a158be/2a4a941d55e011be?hl=en&rnum=1&_done=%2Fgroup%2Fcomp.lang.python%2Fbrowse_frm%2Fthread%2Fc5ab5cf524a158be%2F4c02e7b9c3b44c37%3Fhl%3Den%26lnk%3Dgst%26#doc_2a4a941d55e011be

another implementation here:
http://www.radlogic.com/releases/two_way_dict.py

Kent


More information about the Tutor mailing list