[Zope] Re: How to use a ZSQLMethod from a Python Script

hans hans@beehive.de
Fri, 03 May 2002 15:36:06 +0100


> > >Igor Leturia writes:
> > > >   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'.

http://www.zope.org/Members/spinwing/ZSQL_Results
-------------------------------------------------------------
Who's got only a hammer sees the world as a nail
hans augustin  (software developer)           hans@beehive.de
beehive elektronische medien GmbH       http://www.beehive.de
phone: +49 30 847-82 0                  fax: +49 30 847-82 299