On Thu, Jan 1, 2009 at 9:43 AM, jadrifter <[email protected]> wrote: > Being able to use struct notation (employee.age > instead of employee[4]) would be nice but also not that difficult to > implement as a class either.
Python 2.6 added collections.namedtuple() which is a factory for classes like this: http://docs.python.org/dev/library/collections.html#collections.namedtuple Kent _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
