key - key pairs
Florian Lindner
Florian.Lindner at xgm.de
Thu Jun 23 15:40:55 EDT 2005
Hello,
is there in python a kind of dictionary that supports key - key pairs?
I need a dictionary in which I can access a certain element using two
different keys, both unique.
For example:
I've a dictionary with strings and times. Sometimes I have the string and I
want to have the time, other time I've the time and I want the string. It
is important that one of the keys supports the min/max builtin function.
Thanks,
Florian
More information about the Python-list
mailing list