September 5, 2021 by
Mike When you create a graphical user interface for your amazing program, you want to add a little bit of yourself to the application. One way to do that is to use images as buttons. While some people find these types of buttons unintuitive because they don't look like buttons, it is a legitimate way to […]
Python can be used to read in the common MP4 video format and convert it to an animated GIF. Of course, you can use a pre-built piece of software if you'd rather, but it's fun (and a good learning experience) to do it yourself. In this tutorial, you will learn the following: How to extract […]
In this tutorial, I talk about some of Python's most popular GUI frameworks. You will learn the basics of graphical user interfaces. Then you will learn how to create a simple image viewer using wxPython. Finally, you will see how to rewrite the image viewer using PySimpleGUI. Related Reading Creating an Image Viewer with PySimpleGUI […]
February 16, 2021 by
Mike PySimpleGUI makes creating applications easy. In this tutorial, you will learn how to use PySimpleGUI to create a simple Image Viewer. You will be using the regular version of PySimpleGUI, which wraps Tkinter, rather than its wxPython or PyQt variants. Let's get started! Getting Started You need to install PySimpleGUI as it is not included […]
The Pillow package lets you draw text on images using Python. This includes using TrueType and OpenType fonts. You have a lot of flexibility when adding this text to your images. If you'd like to know more, you should check out Drawing Text on Images with Pillow and Python. Note: The code and fonts used […]
When you are creating graphical user interfaces (GUIs), you will often find that you need to create more than one window. In this tutorial, you will learn how to create two windows with PySimpleGUI. PySimpleGUI is one of the easiest Python GUIs to get started with. It wraps other Python GUIs and gives them a […]