Cross-Platform

This article will be about a topic that can be used across platforms, such as Linux, Windows and Mac.

Using Multiple Databases in TurboGears 2

Last week, I embarked on an adventure into the world of web application programming. Since my work place uses Python as much as possible and my boss likes TurboGears, I chose it for this endeavor. I have worked through various TurboGears tutorials and thought it looked pretty cool. However, it doesn’t take long to discover

Using Multiple Databases in TurboGears 2 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 »

wxPython Sizers Tutorial: Using a GridBagSizer

In this tutorial, I will take my code from the GridSizer tutorial I wrote the other day and heavily modify it to display oddly shaped widgets in a GridBagSizer. The GridBagSizer is the most complex of the sizers. It subclasses the FlexGridSizer, so you can use all of it’s parent’s methods as well as those

wxPython Sizers Tutorial: Using a GridBagSizer Read More »