On Oct 29, 2:06 am, Chris Rebert c...@rebertia.com wrote:
On Wed, Oct 28, 2009 at 11:31 PM, codingJoe tracy.monte...@gmail.com wrote:
Hi all!
I am trying to choose the right data structure to do a value lookup
with multiple keys.
I want to lookup data by: key, key,{ values }
My
Hi all!
I am trying to choose the right data structure to do a value lookup
with multiple keys.
I want to lookup data by: key, key,{ values }
My final product should be able to reference this datastructure from
within a django template.
Because my lookup needs only 80 values and will never
On Oct 29, 4:31 pm, codingJoe tracy.monte...@gmail.com wrote:
I am trying to choose the right data structure to do a value lookup
with multiple keys.
Hey Joe,
Is something like this what you're after?
from collections import defaultdict
sports = defaultdict(list)