25 Apr
2002
25 Apr
'02
2:42 p.m.
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 = 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