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) >> <snip>
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? -- http://mail.python.org/mailman/listinfo/python-list