Gregor Horvath wrote:
any help?
I guess you missunderstood the sentence "For example, getattr(x, 'foobar') is equivalent to x.foobar.". getattr(x, "foo.bar") is not equivalant to x.foo.bar.
-- http://mail.python.org/mailman/listinfo/python-list
Gregor Horvath wrote:
any help?
I guess you missunderstood the sentence "For example, getattr(x, 'foobar') is equivalent to x.foobar.". getattr(x, "foo.bar") is not equivalant to x.foo.bar.
-- http://mail.python.org/mailman/listinfo/python-list