开发者

Python: Interacting with Oracle database without using ODBC

I am new to python and currently writing a module to write error logs into Oracle database. Its not possible to install ODBC libraries on the server for this task so I am wondering what is the best way to handle this without using ODBC (such as pyodbc). I am advised to us开发者_开发知识库e ORMs so any of you have some idea about this? I am using python 2.6.5.

Thank you.


cx_Oracle doesn't use ODBC but you have to install the Oracle client tools.

If the JVM and Jython is an option for you the Oracle Thin Driver for JDBC can be used without ODBC or the client tools.


There are apparently a number of options, a mere google search away:

http://wiki.python.org/moin/Oracle

My guess is that cx_Oracle is the one you want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜