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 _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor