Accessing Oracle from Python

Walter Dörwald walter at livinglogic.de
Thu Jul 15 18:16:32 CEST 2004


Dan Ellis wrote:

> Hi,
> 
> [...]
 >
> I need to access an Oracle database running on a Windows server from
> Python running on Linux. I've tried building DCOracle2, but it seems
> that the 'oracle-installclient-basic' thing I downloaded from the
> Oracle site doesn't contain enough. I've tried various other
> approaches, such as mxODBC/iODBC, but without much luck. I'm hoping to
> not have to resort to a Windows solution.
> 
> Can someone help me figure out what combination of Python module,
> Oracle download and/or ODBC driver will work?

Try cx_Oracle:
http://www.computronix.com/utilities.shtml#Oracle
(and of course you need an Oracle client installation on your Linux
machine)

HTH,
    Walter Dörwald





More information about the Python-list mailing list