pyrhon and oracle

Gerhard Häring gerhard.haering at gmx.de
Sat Sep 21 10:37:52 EDT 2002


* Lee Gray <lee100 at sport.rr.com> [2002-09-21 14:03 +0000]:
> Satheesh Babu wrote:
> > cx_Oracle might be the *easiest* to use. I use DCOracle while working
> > with Zope, but for standalone development, cx_Oracle is tops.
> > 
> > Download the driver from
> > http://www.computronix.com/utilities.shtml
> > 
> > go to Python DB-API specs
> > http://www.python.org/topics/database/DatabaseAPI-2.0.html
> > 
> > Here's an example using DB-API
> > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/81189
> > 
> > vsb
> > http://vsbabu.org/
> > 
> 
> I'm just looking into Python, so these articles don't mean much to me yet... 
> Does all this mean that Python doesn't talk to an Oracle DB "out of the 
> box"?

Yes.

> For Windows, can Python use ADO?

Yes.

There are binaries for cx_Oracle, DCOracle2 and DCOracle, though, which
you can download and install in a matter of minutes.

If you have installed an Oracle 8 client or higher, you can use
cx_Oracle or DCOracle2. For Oracle 7 clients, you need DCOracle.

There are also modules for ADO (alpha) and ODBC, but I'd (and I do,
personally) go with one of the native Oracle modules.

-- Gerhard




More information about the Python-list mailing list