[Chicago] 2 unique keys in a python dict?

Lukasz Szybalski szybalski at gmail.com
Thu Oct 9 17:40:23 CEST 2008


Hello,
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.
me={}
me['First']='Lucas'
me['Last']='szybalski'

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= ?


Thanks,
Lucas


-- 
Python and OpenOffice documents and templates
http://lucasmanual.com/mywiki/OpenOffice
Fast and Easy Backup solution with Bacula
http://lucasmanual.com/mywiki/Bacula


More information about the Chicago mailing list