> Consider a class with a lt of properties. I would like a member > function which generates a dictionary where the keys are the property > names and the values are the property values?
Use the force... :-) Since Python uses dictionaries to store all those things already there must be a suitable bit of black magic that will serve it up on a plate. Doing some reading around the innards of classes should shed light on it. Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor