#!/usr/bin/env python # coding: iso-8859-1 # Statt: a = (((1, 2), (3, 4)), ((5, 6), (7, 8)), ((9, 10), (11, 12))) print a[2][1][1] # So: class Container: def __init__(self): self.e_00_00 = (1, 2) self.e_00_01 = (3, 4) self.e_01_00 = (5, 6) self.e_01_01 = (7, 8) self.e_02_00 = (9, 10) self.e_02_01 = (11, 12) c = Container() print c.e_02_01[1]