[Chicago] 2 unique keys in a python dict?
Massimo Di Pierro
mdipierro at cs.depaul.edu
Thu Oct 9 17:43:20 CEST 2008
A key can be a tuple
On Oct 9, 2008, at 10:40 AM, Lukasz Szybalski wrote:
> Is it possible to have multiple keys in a python dictionary?
> Normally its only 1 key, and I need to have 2 dictionaries and somehow
> manage the uniqueness.
> I would like to get 2 keys? Is there something similar to dict that
> would have the property that 2 or more keys are unique?
> me= ?
> Python and OpenOffice documents and templates
> Fast and Easy Backup solution with Bacula
> Chicago mailing list
> Chicago at python.org
More information about the Chicago