Got it:
exec('self.' + attr + '=\'' + val + '\'')That worked. I think it'll do what you want now ;) Ching-Yun "Xavier" Ho, Technical Artist Contact Information Mobile: (+61) 04 3335 4748 Skype ID: SpaXe85 Email: [email protected] Website: http://xavierho.com/
-- http://mail.python.org/mailman/listinfo/python-list
