Mike

Python GUI Frameworks (Video)

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 […]

Python GUI Frameworks (Video) Read More »

PySimpleGUI – How to Draw Shapes on an Image with a GUI

Drawing shapes on images is neat. But wouldn’t it be nice if you could draw the shapes interactively? That is the point of this tutorial. You will create a user interface using PySimpleGUI to allow you to draw shapes on images! The purpose of this user interface is to show you how you can make

PySimpleGUI – How to Draw Shapes on an Image with a GUI Read More »

Drawing Shapes on Images with Python and Pillow

Pillow provides a drawing module called ImageDraw that you can use to create simple 2D graphics on your Image objects. According to Pillow’s documentation, “you can use this module to create new images, annotate or retouch existing images, and to generate graphics on the fly for web use.” If you need more advanced drawing capabilities

Drawing Shapes on Images with Python and Pillow Read More »

Creating an Image Viewer with PySimpleGUI

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

Creating an Image Viewer with PySimpleGUI Read More »

PySimpleGUI: Drawing Text on Images with a Python GUI

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

PySimpleGUI: Drawing Text on Images with a Python GUI Read More »

An Intro to Python Virtual Environments

Python has the concept of the virtual environments built-in to the language. A Python virtual environment is an environment where you can install 3rd party packages for testing without affecting the system Python installation. Each virtual environment has its own set of installed packages and, depending on the virtual environment and how it’s set up,

An Intro to Python Virtual Environments Read More »