[Zope] How to use a ZSQLMethod from a Python Script
Igor Leturia
IGOR@emun.com
Thu, 25 Apr 2002 16:42:18 +0200
Hi!
I want to call a ZSQLMethod from a Python Script. In Zope.org, I
couldn't find a specific how-to on the subject, but accidentally I found
some other how-to's in which there are examples that use ZSQLMethods
from Python scripts. It seemed very easy, so I tried it that way:
res =3D context.mysqlmethod()
It gives an error message, 'resource not found'. Both the script and
the sql method are in the same folder. What's going wrong?
Thanks in advance,
Igor Leturia