[Zope] Accessing self in External Methods

ratem@censa.com.br ratem@censa.com.br
Fri, 30 Aug 2002 14:27:53 -0300 (BRT)


Hi,

I am using an external method to call wvWare and catalog a M$-Word file c=
ontent.

The file object is an attribute of my ZClass.
The external method is called by a Python Script (PrincipiaSearchSource).=
=20

I=B4d like to know how can I access the file atribute from the external m=
ethod.
I tryed directly: self.file, but it didn=B4t work. Does that mean ZClasse=
s=20
atributes are always private?=20
How can I get this file object?=20
Using getattr?

One more question: how can I modify a class attribute inside the External=
=20
Method?

thanks,

Rogerio