Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
How to create a CRUD Application with Python and SQL Server
Rating: 4.3 out of 5(195 ratings)
5,230 students

How to create a CRUD Application with Python and SQL Server

Create a Python Application to interact with SQL Server Database
Last updated 3/2026
English

What you'll learn

  • Importing Python Modules
  • Creating Graphical User Interface using Tkinter and ttk
  • Creating a class with methods
  • Creating functions
  • Creating a virtual environment
  • Installing Microsoft SQL Server 2017 Express Edition
  • Creating a database and table
  • Connecting Python file to database
  • Create pop up boxes for your application
  • Insert data into SQL Server database from Python application
  • Update existing records inside SQL Server database from Python application
  • Delete records from SQL Server database from Python application
  • Create a database configuration file

Course content

4 sections37 lectures3h 57m total length
  • Introduction1:56
  • What is CRUD2:02
  • What we will create1:39
  • The source code0:02
  • Application design|sketch1:49
  • Install Python on Windows4:34
  • Install Python3 on Mac6:57
  • Install Atom text editor3:57
  • Compilers and interpreters5:25
  • Create a project directory and a python file2:36
  • Creating the application GUI interface - Part 110:30
  • Creating the application GUI interface - Part 27:31
  • Creating the application GUI interface - Part 312:18
  • Creating the application GUI interface - Part 411:53
  • Creating the application GUI interface - Part 57:00
  • Adding comments to your code4:11

Requirements

  • Basic knowledge of SQL will help but not essential
  • Basic knowledge of Python

Description

In this course you  learn how to interface a Python  application program with an SQL Server database. Python has  various modules that you can use to  interact with databases. We will install pypyodbc connector module to enable us interact with SQL Server database from our Python application.

We will be installing Microsoft SQL Server 20117 express edition and also create a new database and table that our Python application will interact with.

We will create the Python application frontend using Tkinter which is a built in Python module used to create graphical user interfaces . From tkinter module we will import ttk module which is a themed widget library that contains various types of widgets like buttons,labels etc that we can use to build the graphical user interface for our Python application. We will also import other bits and pieces from the tkinter module that our Python application will use.

Also we will create a database configuration file that twill be used to interact with the SQL Server database from our Python application.

Who this course is for:

  • Beginners to Python
  • Beginners to SQL
  • Beginners to programming