RE: PSYCOPG2

2021-02-13 Thread Tony Ogilvie
Subject: Re: PSYCOPG2 On Fri, 12 Feb 2021 18:29:48 +, Tony Ogilvie wrote: > I am trying to write a program to open a PostgesSQL 13 database using > psycopg2. All seems to work if I write direct to Python but if I write > the script into IDLE it does not work with the IDLE Shell 3.9.1 &g

PSYCOPG2

2021-02-12 Thread Tony Ogilvie
I am trying to write a program to open a PostgesSQL 13 database using psycopg2. All seems to work if I write direct to Python but if I write the script into IDLE it does not work with the IDLE Shell 3.9.1 reporting an error of no attribute 'connect'. I have tried many options to try and get thi