[Tutor] instantiate and name a class from / with a string
ingo
ingo at ingoogni.nl
Sat Aug 10 02:16:45 EDT 2019
On 10-8-2019 05:57, Mats Wichmann wrote:
> Please be more precise. We're not trying to be argumentative; you have
> to help us know enough before we can help you.
>
Mats, Bob, sorry for not being clear. I have the string and want to
create the instances.
Bob's
name = # get from data base
setattr(root.channel, name, SSE(name))
is what I was looking for, time to read up on attributes,
Thanks,
Ingo
More information about the Tutor
mailing list