XKCD Artist Banned From PyCon

Last week, PyCon officials banned Randall Munroe of the webcomic, XKCD from PyCon. This is an odd move after licensing one of his comics for last year’s conference. Of course, if you look at the PyCon mailing list’s archives, you’ll soon realize that this is a publicity stunt and they are instead trying very hard […]

XKCD Artist Banned From PyCon Read More »

wxPython – Redirecting stdout / stderr

New programmers start using Python and wxPython each week. So it follows that every few months, I see people asking how to redirect stdout to a wx.TextCtrl on comp.lang.python or the wxPython mailing list. Since this is such a common question, I thought I would write an article about it. Regular readers will know that

wxPython – Redirecting stdout / stderr Read More »

wxPython: Working with Menus, Toolbars and Accelerators

Menus and toolbars are used in just about every modern program in existence, barring the ones that only run from the command line. In this post, we’ll learn how to create them using the wxPython toolkit. Here’s what you’ll need to follow along: Python 2.3 – 2.5 wxPython (I recommend 2.7 or higher)

wxPython: Working with Menus, Toolbars and Accelerators Read More »