Ahh... before you guys reply: I found the way.
Between you James sounding the horn of alarm and you Rafe pointing me
in the right direction I sorted it out. Eventually I didn't end up
using getAttr but looking into it I learned the difference between
myResult = instance.method()
and
myMethod =
On Oct 31, 4:38 am, Rafe <[EMAIL PROTECTED]> wrote:
> If you are just looking to execute an attribute (be it a property,
> module-level function, instance or class method, or anything else
> which is an attribute of an object), just use getattr().
I must check this out. My understanding is that ge
On Oct 31, 3:56 am, "James Mills" <[EMAIL PROTECTED]>
wrote:
> Good lord man, what are you trying to solve ?
> Describe your "actual problem" you're attempting
> to solve... This looks really really ugly and I would
> advise against any solution that relies on exec()
I knew I was going to get some
On Oct 31, 10:47 am, "Emanuele D'Arrigo" <[EMAIL PROTECTED]> wrote:
> Hi everybody!
>
> I'm trying to do something in a way that is probably not particularly
> wise but at this point I don't know any better, so bear with me.
>
> Suppose in main.py I have the following statements:
>
> myObject = MyO
Manu,
Good lord man, what are you trying to solve ?
Describe your "actual problem" you're attempting
to solve... This looks really really ugly and I would
advise against any solution that relies on exec()
--JamesMills
On Fri, Oct 31, 2008 at 1:47 PM, Emanuele D'Arrigo <[EMAIL PROTECTED]> wrote: