Do I miss something? Is this the way to do it, or is there a better one?
A better way was introduced in Python 2.6. See http://docs.python.org/library/functions.html?highlight=property#property
I have a Python only version around if you are still using Python 2.5. Christian -- http://mail.python.org/mailman/listinfo/python-list