A few days ago, I wrote an article about using ConfigObj with wxPython. The first question I was asked about the article regarded using a configuration file to generate the dialog. I thought this was an interesting idea, so I took a stab at implementing that functionality. Personally I think it would be probably be […]
I recently starting using Michael Foord's ConfigObj for one of our internal wxPython applications at work. When I wrote my other ConfigObj tutorial, I wanted to show you how I was using ConfigObj with my preferences dialog, but I didn't want all my posts to include wx. In this article, I'll just show you how […]
PyCon USA 2010 will be held in Atlanta, Georgia this year, from February 19-21. There are also tutorial and sprint days that precede and follow the conference. Last year, I was told that my employer wouldn't pay my way next time. So this year I had to decide if I would go all on my […]
Python comes with a handy module called ConfigParser. It's good for creating and reading configuration files (aka INI files). However, Michael Foord (author of IronPython in Action) and Nicola Larosa decided to write their own configuration module called ConfigObj. In many ways, it is an improvement over the standard library's module. When I first looked […]
December 24, 2009 by
Mike During the summer, I stumbled upon an article on Ars Technica about using PyGTK to create a URL shortener. I thought that was pretty interesting, but I don't use PyGTK. So at that point, I decided to write my own using wxPython and use the article's code to do the shortening. I hacked together something […]
December 23, 2009 by
Mike The wxPython ListCtrl is a very handy widget. Unfortunately, it can be a pain to use as well. This discovery caused Phillip Piper, missionary to Mozambique, to write ObjectListView, a wrapper for the wx.ListCtrl. ObjectListView actually adds functionality because it uses objects to create its rows and thus, it makes gettings information from multiple columns […]