[Zope] SQL Output in python script

Ben Avery ben@thesite.org
Tue, 13 Aug 2002 15:07:59 +0100


Chetlan,

namaste!

have a look at:
http://www.zope.org/Members/spinwing/ZSQL_Results

should explain all

Ben



Chetan Kumar wrote:

> Hi all
> I have a python script calling a ZSQL method.
> -----------------------
> resp=SQLMethod(Input)
> return resp
> -----------------------
> The response from the ZSQL method is
>
> <Shared.DC.ZRDB.Results.Results instance at 0x8f4e8a4>
>
> I want to access the result as I need to do some
> processing over this before sending it to a ZPT
> for display.
> What is the trick ?
> TIA
> Chetan
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>