Is there a way to connect Python to Db2?
ibm-db, the official DB2 driver for Python and Django is here:
Here's a recent tutorial for how to install everything on Ubuntu Linux:
I should mention that there were several older unofficial DB2 drivers for Python. ibm-db is the one you should be using.