Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (中文) » SQL Anywhere 服务器 - 编程 » Python 支持

 

sqlanydb 简介

SQL Anywhere Python 数据库接口 (sqlanydb) 是用于 Python 语言的数据访问 API。Python 数据库 API 规范定义了一组方法,这些方法提供了一致的数据库接口,该接口独立于实际所用数据库。使用 sqlanydb 模块,您的 Python 脚本可以直接访问 SQL Anywhere 数据库服务器。

sqlanydb 模块及其扩展模块执行由 Marc-Andr¨¦ Lemburg 编写的 Python 数据库 API 规范 v2.0。安装完 sqlanydb 模块后,即可使用 Python 访问和更改 SQL Anywhere 数据库中的信息。

有关 Python 数据库 API 规范 v2.0 的信息,请参见 [external link] http://www.python.org/dev/peps/pep-0249/

将 Python 用于多线程时,sqlanydb 模块是线程安全的。

 要求