September 8, 2016 by
Mike I always spend some time thinking about how I want my book's cover to look. When I was designing the Cookbook's cover, I thought mostly about food and chefs. I had originally thought I might have some kind of kitchen scene with mice in chef hats and a snake on the mantle. But I wanted […]
My newest book will be my own home brewed version of a wxPython Cookbook. If you're interested in learning more about it, then please check out the Kickstarter campaign. The brief synopsis is that it will have a little over 50 recipes in the book and around 300 pages of content. To help you make […]
Several years ago, the readers of this blog asked me to take some of my articles and turn them into a cookbook on wxPython. I have finally decided to do just that. I am including over 50 recipes that I am currently editing to make them more consistent and updating them to be compatible with […]
Redirecting stdout to something most developers will need to do at some point or other. It can be useful to redirect stdout to a file or to a file-like object. I have also redirected stdout to a text control in some of my desktop GUI projects. In this article we will look at the following: […]
The wxPython toolkit added context managers to its code base a few years ago, but for some reason you don't see very many examples of their use. In this article, we'll look at three examples of context managers in wxPython. A wxPython user was the first person to suggest using context managers in wxPython on […]
The other day, I came across an interesting StackOverflow question where the fellow was trying to figure out how to open a sub-frame only once. Basically he wanted a single instance of the sub-frame (and other sub-frames). After digging around a bit on Google, I found an old thread from the wxPython Google Group that […]