wxPython

An article about wxPython, one of the most popular desktop graphical user interface (GUI) toolkits for the Python programming language

ANN: ObjectListView3 for wxPython

ObjectListView is a third-party wxPython widget that wraps the wx.ListCtrl. I have used it for over 10 years in quite a few different GUI applications because it works much nicer than wx.ListCtrl does. Unfortunately, ObjectListView was never integrated into wxPython core like some other amazing third-party packages were, and so it has become broken over […]

ANN: ObjectListView3 for wxPython Read More »

wxPython 101 – wx.NewId() is Deprecated!

Deprecation warnings are handy ways for open-source maintainers to alert their users that some part of their package is no longer going to be supported. Good maintainers will provide migration guides that tell you what to do when you see a deprecation warning. You don’t want to ignore a deprecation warning because it alerts you

wxPython 101 – wx.NewId() is Deprecated! Read More »

Python 101 – How to Create a Graphical User Interface

When you first get started as a programmer or software developer, you usually start by writing code that prints to your console or standard out. A lot of students are also starting out by writing front-end programs, which are typically websites written with HTML, JavaScript and CSS. However, most beginners do not learn how to

Python 101 – How to Create a Graphical User Interface Read More »

Creating a Text Search GUI with wxPython

You learned how to create a file search GUI with wxPython in an earlier tutorial. In this article, you will learn how to create a text search utility with wxPython. If you’d like to learn more about creating GUI applications, you should check out my book Creating GUI Applications with wxPython on Leanpub, Gumroad, or

Creating a Text Search GUI with wxPython Read More »

Creating a Photo Slideshow Application with wxPython (Video)

In this tutorial, you will learn how to improve the image viewer application that you created in the previous video tutorial to make it load up a folder of images. Then you will add some buttons so that the user can go forwards and backwards through the images or play a slideshow of the images.

Creating a Photo Slideshow Application with wxPython (Video) Read More »

Creating a Cross-Platform Image Viewer with wxPython (Video)

Learn how to create a basic cross-platform image viewer using wxPython and Python This video is based on one of the examples from my book, Creating GUI Applications with wxPython, which you can purchase at the following: Amazon Leanpub The code for this example can be found in chapter 2 of the book as well

Creating a Cross-Platform Image Viewer with wxPython (Video) Read More »

Letting Users Change a wx.ComboBox’s Contents in wxPython

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

Letting Users Change a wx.ComboBox’s Contents in wxPython Read More »

wxPython – Creating a PDF Merger / Splitter Utility

The Portable Document Format (PDF) is a well-known format popularized by Adobe. It purports to create a document that should render the same across platforms. Python has several libraries that you can use to work with PDFs: ReportLab – Creating PDFs PyPDF2 – Manipulating preexisting PDFs pdfrw – Also for manipulating preexisting PDFs, but also

wxPython – Creating a PDF Merger / Splitter Utility Read More »