Video Tutorial: Python To-Do-List (GUI Version)

To Do ListPython's built-in GUI library, Tkinter, is a great way to get started in the world of GUI programming.  You will find a number of useful GUI elements (widgets) that you can use with your programs. In this tutorial, we will take a look at how to create a program that creates a simple To-Do list. It demonstrates how to set up a GUI using Tkinter, call a function when a button is clicked, how to use lists, and how to use the Grid Geometry Manager.

 

 

The Program

The program consists of a window, 8 buttons, 2 labels, a text entry widget, and a listbox widget.

The finished product will look something like this:

The Tutorial

The tutorial is in 6 stages as follows:

STAGE I: VIDEO / CODE - Getting Started

STAGE II: VIDEO / CODE - Window Improvements and Updating the Listbox

STAGE III: VIDEO / CODE - Delete All, Sort (ASC), Sort (DESC), Choose Random, Number of Tasks

STAGE IV: VIDEO / CODE - Add one, delete one

STAGE V: VIDEO / CODE - Grid Geometry Manager

STAGE VI: VIDEO / CODEtkMessageBox

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.

@TokyoEdTech

Poll

What LMS does your school use?: