On Thu, Oct 17, 2013 at 11:43 AM, MRAB <pyt...@mrabarnett.plus.com> wrote:
> I'm guessing, but perhaps you need:
>
>     instance = getattr(self, "%s" % key)

How's that different from getattr(self,str(key))?

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to