How to connect Python to Db2

前端 未结 10 550
小鲜肉
小鲜肉 2020-12-04 19:53

Is there a way to connect Python to Db2?

10条回答
  •  广开言路
    2020-12-04 20:11

    ibm-db, the official DB2 driver for Python and Django is here:

    • https://code.google.com/p/ibm-db/

    Here's a recent tutorial for how to install everything on Ubuntu Linux:

    • http://programmingzen.com/2011/05/12/installing-python-django-and-db2-on-ubuntu-11-04/

    I should mention that there were several older unofficial DB2 drivers for Python. ibm-db is the one you should be using.

提交回复
热议问题