Dice grid from a photo with Python (IV) – Designing the GUI with Tkinter
This post is part of the Project: Create a grid of dice from a photo with Python and PIL The logic behind the program Drawing the dice Create a grid of dice from a photo Design of the GUI Documentation and creation of the stand-alone executable Introduction So far, we've been able to successfully create a dice grid from any picture using PIL and Python. However, running the script and modify the path to the picture every time we want to make a grid becomes tedious very quickly and its not the most friendly way to do the things. We can significantly enhance the user-experience through a GUI that will let us visualize a preview of the final result and browse through the folders of our system to find the pictures we want to send to the script. In this post, I'll show you how to design a GUI with Tkinter , and in the next post, I'll show you how to create an stand-alone executable that you will be able to distribute and run without having Python installed in your c