Re: Python + PostgreSQL
От | Antonio Navarro Navarro |
---|---|
Тема | Re: Python + PostgreSQL |
Дата | |
Msg-id | 4.1.20000803090050.00c9adb0@pop3.bemarnet.es обсуждение исходный текст |
Ответ на | Python + PostgreSQL (Antonio Navarro Navarro <hostmaster@bemarnet.es>) |
Список | pgsql-interfaces |
At 14.48 2/8/00 -0700, Karl Thomas Diedrich wrote: >I used the Postgresql python package to write a program. I couldn't find >any documentation either. Examples come in the RedHat package. > >I used qit like this: >from pg import DB >cnx = DB("database-name") >cnx.query("""CREATE TABLE ...""") > >You can see the full application at http://deodas.sourceforge.net/. Thqe >parts in the the file DEODAS/deodas/src/deodas_mod.py under CVS web. Hi Karl ! Yes, this works for localhost and for servers that don't need user authentication, but I need to connect to a remote server using an specific username and password... Anyone can help ? Regards, Antonio Navarro Navarro BemarNet Management http://www.bemarnet.es hostmaster@bemarnet.es Tlf. +34-96-1656644 Fax. +34-96-1656514
В списке pgsql-interfaces по дате отправления: