• Post category:StudyBullet-7
  • Reading time:5 mins read


Build Database Driven Applications using Python and IBM DB2

What you will learn

Setup Python Development Environment

Setup IBM DB2 Database server

Connect to DB2 using IBM Data Studio

Create a database and table

Create Application interface with Python

Connect Python to DB2

Perform CRUD operations from python app on DB2 database

Description

Db2 is a family of data management products, including database servers, developed by IBM. They initially supported the relational model, but were extended to support object–relational features and non-relational structures like JSON and XML.

Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small- and large-scale projects.

Python has a lot of GUI frameworks, but Tkinter is the only framework that’s built into the Python standard library. Tkinter has several strengths. It’s cross-platform, so the same code works on Windows, macOS, and Linux. Visual elements are rendered using native operating system elements, so applications built with Tkinter look like they belong on the platform where they’re run.


Get Instant Notification of New Courses on our Telegram channel.


For python application to interact with a DB2 database it requires a database connector adaptor called ibm_db

Before you can run SQL statements to create, update, delete, or retrieve data, you must connect to a database. You can use the ibm_db API to connect to a database through either a cataloged or uncataloged connection. To improve performance, you can also create a persistent connection.

In this course we will a build a CRUD application from scratch using Python and IBM DB2 database.

English
language

Content

Python Setup

Introduction
What is Python
Python installation on windows
Python installation on macs
Python installation on linux
Note on text editors
Install Text Editor

IBM DB2 Setup

What is DB2
Download and install DB2
Basic database concepts
Create a database and table
Installing IBM Data Studio Client
Launching IBM Data Client Studio Client
What is a Schema

Building CRUD App: Part 1 : Building the user interface

What we will build
What is CRUD
Application design
Creating the app interface : part 1
Creating the app interface : part 2
Creating the app interface : part 3
Creating the app interface : part 4
Creating the app interface : part 5
Adding comments to code