从Python查询Windows Server 2008上的Oracle数据库

时间:2013-03-04 09:32:14

标签: python oracle windows-server-2008

假设数据库在 Windows Server 2008 上运行,我如何从Python代码与Oracle数据库通信?我可以使用oracle提供程序OLE DB(http://www.oracle.com/technetwork/database/windows/utilsoft-088126.html)在Windows XP / Windows Server 2003 / ...等其他操作系统上进行通信,但它们似乎都不支持Windows Server 2008.请问一些提示?

1 个答案:

答案 0 :(得分:1)

您可以使用cx_Oracle模块从python连接oracle。

如何使用oracle使用python?

http://www.oracle.com/technetwork/articles/dsl/python-091105.html

cx_Oracle的文档在哪里?

http://cx-oracle.sourceforge.net/html/index.html

这可能有助于解决您的问题。