pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Antonio Navarro Navarro <hostmaster@bemarnet.es>
To: Karl Thomas Diedrich <died9501@uidaho.edu>
Cc: pgsql-interfaces@hub.org
Subject: Re: Python + PostgreSQL
Date: Thu, 03 Aug 2000 09:02:43 +0200
Message-ID: <4.1.20000803090050.00c9adb0@pop3.bemarnet.es> (raw)
In-Reply-To: <Pine.GHP.4.21.0008021440410.10797-100000@raptor.csrv.uidah o.edu>
References: <4.1.20000802123207.00c22a20@pop3.bemarnet.es>

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



view thread (11+ messages)  latest in thread

Message-ID: <4.1.20000803090050.00c9adb0@pop3.bemarnet.es>
Permalink:  ../4.1.20000803090050.00c9adb0@pop3.bemarnet.es/
Also on:    postgresql.org/message-id/4.1.20000803090050.00c9adb0@pop3.bemarnet.es

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: hostmaster@bemarnet.es, died9501@uidaho.edu, pgsql-interfaces@hub.org
  Subject: Re: Python + PostgreSQL
  In-Reply-To: <4.1.20000803090050.00c9adb0@pop3.bemarnet.es>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox