janama wrote:
> i can use this:
> aaa = 1
> result = eval("self.b%s.SetBitmapDisabled(self.yellow)" % aaa)
>
> .... How would i to achieve this with getattr() ?
result = getattr(self, 'b%s' % aaa).SetBitmapDisabled(self.yellow)
--Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
