Python dictlist
From Wildsong
This is a common pattern that I use, I need a dictionary that has a list for each of its values, like this
d = { "a" : [1,2,3], "b" : [3,4,5], }
https://docs.python.org/2/library/collections.html#collections.defaultdict