摘要: 1、首先需要安装好oracle数据库,本机适用plsql连接数据库正常,记录下数据库名称 2、安装cx_oracle模块 pip install cx_Oracle 3、python中引入模块 import cx_Oracle as cx 4、测试 conn = cx.connect('sys/password@localhost/orcl') cursor = conn.cursor (... 阅读全文
posted @ 2016-12-09 15:22 Tony(iHqq) 阅读(2039) 评论(0) 推荐(0) 编辑