Python GUI Projects with Tkinter (with Source Code)

Welcome to our Python GUI Projects with Tkinter Article. Here we have a compilation of 5 Tkinter GUI Projects we made in Python on our CodersLegacy YouTube Channel. For those of you coming from the Channel, you can find the code here available for you to try for yourself.

For those of you seeing this for the first time, you can find the full explanations for the below code on our Channel, where we write it from scratch.

You can go check out our YouTube Channel with this link.


A Login Page

A simple login form that takes a username and password, and verifies whether it is correct using a file of passwords and usernames. For this program to work, you should have a file called Accounts.txt setup in the same directory.

Watch the Video!

Code

Sample Usernames and Passwords:

CodersLegacy,12345
John Hubbard,2020
Random,0000
Sarah,9009

Registration Form

A Registration form that takes input from the user using a variety of widgets placed in a rather interesting layout using the Pack Layout Manager. This data can then be saved to a MySQL database as permanent storage. For this program you need to have a MySQL database installed to use the data storage feature.

Watch the Video!

Code

Spreadsheet Program

This is a simple spreadsheet which has some basic features you might expect to see in a spreadsheet software. You can also save all the data in the spreadsheet into a file, and load it back into the spreadsheet at a later time.

Watch the Video!

Code

Notepad Application

A simple Notepad application with the basic features found in Text Editors as well as the ability to Undo/Redo Actions.

Watch the Video!

Code

Syntax Highlighter + Code Editor

One of the more Complex GUI Projects with made with Python Tkinter. The Syntax Highlighter we made is here is rather crude, but it has many of the features you will find in simple Code Editors today such as Notepad++. It can color certain keywords, strings and important words, while also having automatic indenting to some extent.

Code

This marks the end of the Python GUI Projects with Tkinter Article. Any suggestions or contributions for CodersLegacy are more than welcome. Questions regarding the tutorial content can be asked in the comments section below.

Leave a Comment