multi dimensional dictionary

Alok Kumar alokkat at gmail.com
Wed May 28 00:22:59 EDT 2008


Dear All,

I am using dictionary for filling my xpath parsed data.

I wanted to use in the following manner.

mydict[index] ["key1"] ["key2"]    #Can someone help me with right
declaration.

So that I can fill my XML xpath parsed data

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

Can someone help me with right declaration usages. Your help will be highly
appreciated.

Regards
Alok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080528/dbf13f6d/attachment.html>


More information about the Python-list mailing list