wxPython 101: Using Frame Styles

The wxPython Frame widget is used in almost all wxPython applications. It has the minimize, maximize and close buttons on it as well as the caption along the top that identifies the application. The wx.Frame allows you to modify its styles in such a way that you can remove or disable various buttons and features. […]

wxPython 101: Using Frame Styles Read More »

wxPython: How to Get Selected Cells in a Grid

Today we will be looking at how to get the selected cells from a wxPython grid object. Most of the time, getting the section is easy, but when the user selects more then one cell, getting the selection becomes more complicated. We will need to create some sample code to show how all this fits

wxPython: How to Get Selected Cells in a Grid Read More »

Python 101: An Intro to ConfigParser

Configuration files are used by both users and programmers. They are usually used for storing your applications settings or even your operating system’s settings. Python’s core library includes a module called ConfigParser that you can use for creating and interacting with configuration files. We’ll spend a few minutes learning how it works in this article.

Python 101: An Intro to ConfigParser Read More »

wxPython: An Introduction to SplitterWindows

The wxPython GUI toolkit comes with lots of widgets. We will be covering some widgets that are somewhat harder to get ones mind wrapped around. In this case, we will be talking about splitter windows. WxPython includes three types of splitter windows: wx.SplitterWindow fourwaysplitter which you can find in wx.lib.agw MultiSplitterWindow which you can find

wxPython: An Introduction to SplitterWindows Read More »

wxPython 2.9 and the Newer Pubsub API: A Simple Tutorial

NOTE: This article is for wxPython 2.9-3.0. If you are using wxPython 4, you should go to my newer article Several years ago, I wrote a tutorial about wxPython 2.8 and its built-in pubsub module which you can read here. Back then, a new API for pubsub was added in wxPython 2.8.11.0 that could be

wxPython 2.9 and the Newer Pubsub API: A Simple Tutorial Read More »

wxPython: How to Update a Progress Bar from a Thread

Every now and then, I see someone wondering how to create a progress bar and update it. So I decided to whip up an example application that updates a progress bar (technically a wx.Gauge widget) from a thread. In this tutorial, we will create a frame with a button. When the button is pushed, it

wxPython: How to Update a Progress Bar from a Thread Read More »

Book Preview: Building Machine Learning Systems with Python

Earlier this year, Packt Publishing asked me to be a technical reviewer of one of their upcoming books, “Building Machine Learning Systems with Python” by Willi Richert and Luis Pedro Coelho. Now the book is available for purchase and they have asked me to write a little about it. I haven’t read through the finished

Book Preview: Building Machine Learning Systems with Python Read More »