Looks like you have an invalid connection string: conn=psycopg2.connect("dbname='busard_test' user='laurent' host='localhost' password='cactus’") Try removing the double quotes, they are obscuring the parameter names and values: conn=psycopg2.connect(dbname=‘busard_test', user=‘laurent', host=‘localhost', password='cactus’) You were also missing some punctuation between the parameters. -- skeeved On May 16, 2014 at 9:39:06 AM, Adrian Klaver (adrian.klaver@xxxxxxxxxxx) wrote:
|