Hi All, Is there any way to check if an item in specific location in a multiple dimension nested exist? For example something like:
if M_list[line][row][d] exist: do_something_0 else: do_something_1 One way is to check the length of each dimension. Does any body know a simpler way? is there any way to check if "IndexError: list index out of range" happened or going to happen and stop program from terminating? Thanks Arash
-- http://mail.python.org/mailman/listinfo/python-list