python 3.3有连接Oracle数据库的模块吗?哪个最容易使用?像 mysql 模块之类的东西只能与 Oracle 一起使用。
最好是 10g 版本,但 11g 也可以。
有: cx_Oracle
# Install --> You should have oracle installed otherwise exception will be raised
pip install cx_Oracle
import cx_Oracle
con = cx_Oracle.connect('pythonhol/[email protected] /cdn-cgi/l/email-protection/orcl')
print con.version
con.close()
http://www.orafaq.com/wiki/Python http://www.orafaq.com/wiki/Python
http://www.oracle.com/technetwork/articles/dsl/python-091105.html http://www.oracle.com/technetwork/articles/dsl/python-091105.html
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)