Python and PostgreSQL 7.x ?

Andrew MacIntyre andymac at bullseye.apana.org.au
Tue Dec 17 06:52:25 EST 2002


On Tue, 17 Dec 2002, Brian Alexander wrote:

> Are the modules to connect to postges installed by default in Python 2.2?

No.  The only databases usually supported by the base install are the DBM
family of Unix databases.

> If not, where do I get them? Where can I find instructions on using this
> database server from Python?

PostgreSQL has a number of sources of Python modules:-
- PyGreSQL (included with the PostgreSQL sources, build with Distutils)
- PyPgSQL  (pypgsql.sf.net)
- PoPy     (popy.sf.net)
- Psycopg  (psycopg.sf.net - builds with configure script)

--
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au  | Snail: PO Box 370
        andymac at pcug.org.au            |        Belconnen  ACT  2616
Web:    http://www.andymac.org/        |        Australia





More information about the Python-list mailing list