将 python 3.3 连接到 microsoft sql server 2008 [英] Connecting python 3.3 to microsoft sql server 2008

查看:78
本文介绍了将 python 3.3 连接到 microsoft sql server 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Python 新手.我在我的 Windows 机器上使用 Pydev IDE 和 Eclipse 进行 python 编程.我正在使用 python 3.3 vern 并想连接 MS Sql Server 2008.有人可以建议我应该如何连接 MS Sql Server 2008.

I am new to python. I am using Pydev IDE with Eclipse for python programming in my Windows machine. I am using python 3.3 vern and want to connect with MS Sql Server 2008. Could someone suggest how should I connect with MS Sql Server 2008.

推荐答案

pyodbc 支持 python3并且可以连接到任何数据库,因为有一个 odbc 驱动程序,包括 sql server.

pyodbc supports python3 and can connect to any databas for wich there's an odbc driver, including sql server.

还有一个纯 python 实现pypyodbc,它也应该支持 python3.

There's also a pure python implementation pypyodbc which also should supoort python3.

adodbapi 也声称可以使用 python3.

adodbapi also claims to work with python3.

此处您可以找到包含更多选项的列表.

Here you can find a list with some more options.

这篇关于将 python 3.3 连接到 microsoft sql server 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆