Re: [Zope-DB] psycopg in python script

2006-02-24 Thread Charlie Clark
On 2006-02-23 at 21:36:46 [+0100], garry <[EMAIL PROTECTED]> wrote: > How can I access a Psycopg_database_connection within a python script. > So far I have this which only returns a connection instance, but I want > to pass the connection a query string. > > query1=context.Psycopg_database_conne

[Zope-DB] psycopg in python script

2006-02-23 Thread garry
How can I access a Psycopg_database_connection within a python script. So far I have this which only returns a connection instance, but I want to pass the connection a query string. query1=context.Psycopg_database_connection('select * from studentdetails') return query1 Regards Garry