how to add object from dict
Mohsen Pahlevanzadeh
mohsen at pahlevanzadeh.org
Wed Oct 16 21:15:44 EDT 2013
On Thu, 2013-10-17 at 11:46 +1100, Chris Angelico wrote:
> On Thu, Oct 17, 2013 at 11:43 AM, MRAB <python at 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
I get the string of CheckBox instead of its Object:
AttributeError: 'Ui_ProjectsFind' object has no attribute 'ssss'
More information about the Python-list
mailing list