Class probkem - getting msg that self not defined

Andrew Robert andrew.arobert at
Mon May 22 20:56:05 CEST 2006

wes weston wrote:
> Andrew Robert wrote:
>> Hi Everyone,
>> I am having a problem with a class and hope you can help.
>> When I try to use the class listed below, I get the statement that self
>> is not defined.
>> test=TriggerMessage(data)
> self is not known here; only inside the class.
>> var = test.decode(self.qname)

I guess I was barking up the wrong tree on that one.

How would I go about getting the required values out of the class?

Return self?

More information about the Python-list mailing list