Python support for Db2 for z/OS
Application programs that are written in the Python language can access data in Db2 for z/OS by using the IBM_DB Python driver, which accesses the data through Db2 for z/OS ODBC.
Before you begin
- Apply the PTF for APAR PH41045 at a minimum, and check for later ODBC-related APARs.
- Ensure that the ODBC CLI driver is installed and configured. For more information, see Configuring Db2 ODBC and running sample applications.
Procedure
To install and configure the IBM_DB Python driver, follow the instructions in IBM_DB Python Support for IBM Db2 for z/OS and IBM Informix databases.