Oracle Access via cx_Oracle

Paul Moore pf_moore at yahoo.co.uk
Tue Sep 28 19:49:50 CEST 2004


"Greg Lindstrom" <greg.lindstrom at novasyshealth.com> writes:

> Hello
> -
> I am trying to connect to an Oracle database on an HP-9000 via Python 2.3
> and cx_Oracle.  I have set the following in my python routine:
>
> os.putenv('ORACLE_HOME', '/u01/app/oracle')

Shouldn't this be '/u01/app/oracle/product/9.2.0' ? Based on the
following values, that's what I'd expect.

But anyway, I'd normally have these set in my environment rather than
using putenv. Does SQL*Plus work to get at the database?

Paul
-- 
Any sufficiently advanced technology is indistinguishable from magic.
-- Arthur C. Clarke



More information about the Python-list mailing list