dictionary sub-value lookup
Ruediger Maehl
ruediger.maehl at dzsh.de
Thu Feb 8 06:52:57 EST 2001
More information about the Python-list mailing list
Thu Feb 8 06:52:57 EST 2001
- Previous message (by thread): dictionary sub-value lookup
- Next message (by thread): dictionary sub-value lookup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Richard schrieb in Nachricht <3A80F9B4.E072037D at millinfo.co.za>... >I have an object M which contains N dictionaries. Inside >dictionary N, is an identifier, Y, plus various other >values, eg: Z.... is it possible to find M.Y.Z without >looping through the whole of M, checking Y each time ? Hi Richard, do you mean something similar to the path of a file, but only for internal objects? If so, you should perhaps consider using XML for the representation of your objects/data. Have a look at: http://www.python.org/sigs/xml-sig/ RĂ¼diger
- Previous message (by thread): dictionary sub-value lookup
- Next message (by thread): dictionary sub-value lookup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list