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 […]
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 […]
This week I came across someone who was wondering if there was a way to allow the user to edit the contents of a wx.ComboBox. By editing the contents, I mean change the names of the pre-existing choices that the ComboBox contains, not adding new items to the widget. While editing the contents of the […]
Qt for Python (i.e. PySide2) was announced recently and got me interested in trying to use it to load up a UI file. If you don't know, PyQt and PySide / PySide2 can use the Qt Creator application to create user interfaces using a drag-and-drop interface. This is actually very similar to the way you […]
The Qt Team recently posted that Qt will now be officially supporting the PySide2 project, which they are calling "Qt for Python". It will be a complete port of the original PySide, which only supported Qt 4. PySide2 supports Qt 5. Qt for Python will have the following license types: GPL, LGPL and commercial. PySide2 […]
This week we welcome Bryan Oakley as our PyDev of the Week! I've met Bryan a few times in various Python-related forums and developer hangouts online. He's a master at Tkinter and has answered a lot of questions about it (and Python) of StackOverflow and other places. I hope you will enjoy getting to know […]