DEV Community

MOOICT
MOOICT

Posted on

Python Tkinter Project - Make a Magic 8 Ball App

Hi Welcome to this new tutorial from MOO ICT. In this tutorial we will be making a small magic 8 ball style application using python and tkinter. This is a continuation tutorial on our Python Tutorial Series. For this application we will making this step by step in the video tutorial below. Before we start please make sure you have the PILLOW framework installed on your python. This framework allows us to use the ImageTk and Images function to load and display images to the Tkinter window.

Lesson Objective –

Make a Magic 8 Ball APP using python and Tkinter
Create functions and events and link them to the button and the entry box
Use various colours on the GUI in tkinter
Use OS library to loop through a folder and load the images to a list
Use lists and random to choose a random answer for the user input
Check user input and show error message if the entry box is empty
Bind Click button and Enter Key Event for the application

YouTube Tutorial

Download 8 Ball images/Source Code here

*See MOO ICT website or the YouTube Channel for more tutorials on this topic. *

Thank for checking this out and Happy Coding.

Top comments (0)