© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
W. D. AshleyFoundation Db2 and Pythonhttps://doi.org/10.1007/978-1-4842-6942-8_8

8. Python and ibm_db

W. David Ashley1  
(1)
Austin, TX, USA
 
In order to access Db2 from Python, you will need to download and set up the ibm_db module. Currently, this module is not available through any Linux, Unix, or Windows code repositories. However, it can be installed through the Python pip system or downloaded as source and compiled on your system. We highly recommend that you use pip to install the ibm_db module. But before you install it, there are some prerequisites that need to be in place before you can successfully perform the install:
  1. 1.

    Your system must be capable ...

Get Foundation Db2 and Python: Access Db2 with Module-Based API Examples Using Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.