Gary Herron <[EMAIL PROTECTED]> writes:

> mydict[(0,"person","setTime")] = "12:09:30"
> mydict[(0,"person","clrTime")] = "22:09:30"

Note that this is more succinctly written as:

    mydict[0, "person", "setTime"] = "12:09:30"

with the added advantage that it looks like a multi-dimensional array.
:-)

The only problem with this approach is that when you want to iterate
over, say, mydict[0], or mydict[0]["person"], it's not possible
without traversing the entire dict.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to