Looking to start learning Python?

Begin Here

Author: Mike

wxPython: How to Update a Progress Bar from a Thread

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 […]

Book Preview: Building Machine Learning Systems with Python

August 21, 2013 by Mike
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 […]

Reportlab: How to Add Page Numbers

August 12, 2013 by Mike
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 […]

Reportlab: How to Combine Static Content and Multipage Tables

August 9, 2013 by Mike
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 […]

wxPython: How to Redirect Python's Logging Module to a TextCtrl

August 9, 2013 by Mike
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 […]

wxPython: How to Edit Your GUI Interactively Using reload()

August 1, 2013 by Mike
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 […]
View More

End of content

No more pages to load

Copyright © 2024 Mouse Vs Python | Powered by Pythonlibrary