September 4, 2013 by
Mike 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 […]
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 […]
Have you ever needed to add page numbers to your Reportlab generated PDF but didn't know how? Well you've come to the right place. We're going to look at how to add page number in three different circumstances: How to add page numbers with just the canvas object How to add page numbers using the […]
This week I was trying to figure out how to make Reportlab do something I had never attempted before. Namely, I wanted to create about a half page's worth of static text positioned exactly and then have a table of line items that could potentially fill the rest of the page and continue for N […]
Today I was reading the wxPython Google group / mailing list and there was someone asking about how to make Python's logging module write its output to file and to a TextCtrl. It turns out that you need to create a custom logging handler to do it. At first, I tried just using a normal […]
Today, I came across an interesting question on StackOverflow where the author was asking how he could write a wxPython program dynamically. In other words, he wanted to be able to edit the code and basically refresh the application without closing and re-running his code. The simplest way would be to use Python's built-in reload […]