Multi-key Python dictionary

Saturday, September 17th, 2011

There are several (easily found via Google) Python dictionary variations available, that allow you to map multiple values for a given key.  Essentially allowing a list of values for the key to be stored. I was looking for the converse: I wanted to (efficiently) hash multiple keys to a single, common value. Here’s code to […]