Re: Oracle Data Access in Python




"Bill Scherer" <bill.scherer@xxxxxxxxxxxxxxxxxxx> wrote in message
news:mailman.6375.1149096323.27775.python-list@xxxxxxxxxxxxx
A.M wrote:

Hi,



I am familiar with Perl's DBI programming.



In Python, do we access to Oracle by using DBI?

No.

Is Oracle DBD driver included with Python distributions?

No.

What is the most common strategy for accessing to Oracle data through
Python?

cx_Oracle seems to be the leading module for Oracle access today. It works
well.

http://www.cxtools.net/default.aspx?nav=cxorlb


You'll need the apropriate Oracle client installed for it to work, of
course. Oracle's "Instant Client" is probably the easiest way to get what
you need for that.


Hope that helps,

Bill

Thanks Bill for help.
I also learned about DCOracle2 at this page:
http://www.python.org/doc/topics/database/modules/

What do you think about DCOracle2? It seems to be based on Python Database
API Specification.

Thanks again,
Ali



.



Relevant Pages

  • Re: Oracle Data Access in Python
    ... I am familiar with Perl's DBI programming. ... In Python, do we access to Oracle by using DBI? ... You'll need the apropriate Oracle client installed for it to work, ...
    (comp.lang.python)
  • Re: Oracle Data Access in Python
    ... >> I am familiar with Perl's DBI programming. ... >> Is Oracle DBD driver included with Python distributions? ... development of DCOracle has lagged of late. ...
    (comp.lang.python)
  • Oracle Data Access in Python
    ... I am familiar with Perl's DBI programming. ... In Python, do we access to Oracle by using DBI? ... included with Python distributions? ...
    (comp.lang.python)