Dont know what my class is called...

Adam W. AWasilenko at gmail.com
Sun Feb 17 18:23:21 EST 2008


On Feb 17, 6:12 pm, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
> It's a bit hard to get what you are after, but maybe this solves your
> problem?
>
> handler = FeedHandler()
>
> parse(handler)
>
> print handler.my_instance_variable_of_choice
>
> The above assumes that my_instance_variable_of_choice is created +
> filled within the handler of course.
>
> Diez

Doh!  I never thought to try that because I assumed parse needed to
initialize it itself or else it would go haywire, probably stemming
from my belief that classes are comprised mostly of smoke and mirrors
and are never to be fully understood ;)  Thanks for tip.



More information about the Python-list mailing list