[Tutor] creating a method name on the fly

dave s pythontut at pusspaws.net
Mon Aug 7 22:22:34 CEST 2006


Thanks for all your input - the discussion wandered off list a bit !

This solution works a treat ...

button= getattr(self, 'error_button')
print button, button.isChecked()

Cheers

Dave


More information about the Tutor mailing list