Re: Psycopg2 : error message.
От | Dorian Hoxha |
---|---|
Тема | Re: Psycopg2 : error message. |
Дата | |
Msg-id | CANsFX07d4kYcA6pJr2h2-UzvuQwZPRbnDjw7QT56ikBOE+Z-Dw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Psycopg2 : error message. (image <lcelati@latitude-geosystems.com>) |
Список | pgsql-general |
Also remove the first "try" + remove the space before "conn=" so you have this:
#!/Python27/python.exe import psycopg2 # Try to connect conn=psycopg2.connect("dbname='busard_test' user='laurent' host='localhost' password='cactus'") cur = conn.cursor()
On Fri, May 16, 2014 at 12:41 PM, image <lcelati@latitude-geosystems.com> wrote:
Hello,
Thanks. Ok i deleted the except. Please find below the 2 updates usefull
liles :
pg_test.py
<http://postgresql.1045698.n5.nabble.com/file/n5804203/pg_test.py>
SS_dos.JPG
<http://postgresql.1045698.n5.nabble.com/file/n5804203/SS_dos.JPG>
In advance, thank you.
Regards.
IMAGE.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Psycopg2-error-message-tp5804197p5804203.htmlSent from the PostgreSQL - general mailing list archive at Nabble.com.
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
В списке pgsql-general по дате отправления: