IDLE 1.2.1data=(("aa", ("bb", "cc", "dd")), ("ee", ("ff", "gg", "hh")), ("ii", ("jj", "kk", "ll"))) print data[0]('aa', ('bb', 'cc', 'dd'))print data[1]('ee', ('ff', 'gg', 'hh'))etc...I would like to be able to access the dataitem "aa" or "bb", "cc", "dd" individualy.
You're sooooo close: >>> print data[0][0] 'aa' >>> print data[1][0] 'ee' -tkc -- http://mail.python.org/mailman/listinfo/python-list