Andrew Channels Dexter Pinion

Wherein I write some stuff that you may like to read. Or not, its up to you really.

May 23, 2006

PythonCard 0.8.2

PythonCard is a GUI construction kit for building cross-platform desktop applications on Windows, Mac OS X, and Linux.

Release 0.8.2 includes over 50 sample applications and tools to help users build applications in Python, including codeEditor, findfiles, and resourceEditor (layout editor).

New samples include a US-UK converter and a Sudoku solver. There are a new set of "convenience" functions to assist is creating pop-up menus and some commonly used custom dialogs (usage of these is demonstrated in the Sudoku sample, as well as in a new sample "helpful wrappers").

The tools/oneEditor directory contains a new version of the codeEditor, named that supports tabbed editor panes and the resource file popups from codeEditorR; once the code is more mature, it will replace the current codeEditor. The original codeEditor remains for now, but (unless problems show up) will likely be removed in the next release.

The tools/resourceEditor directory contains a new version of the resourceEditor, named which supports a number of operations on multiple components, such as Align, Distribute and Equalize, as well as visual tools to move components (Nudge) and to re-layer them. The other major change is that the Property Window has been redesigned to be larger, and display all properties at once, and allow editing of any of them immediately. The existing resourceEditor remains for now, though if the feedback on the newer layout is OK then the old version may be retired at the next release.

The tools/standaloneBuilder has been extensively revised, and now includes support for py2exe as well as pyInstaller.

PythonCard requires Python 2.3 or later and wxPython or later.

You can download the latest release at:

Please be sure to look at the migration_guide.txt file in the docs directory if you are upgrading from a previous release. Since the package name has changed, you can continue to use the older PythonCardPrototype package simultaneously with the new PythonCard package, but you must upgrade to wxPython

All the information you need about PythonCard can be found on the project web page at:

The installation instructions and walkthroughs are available on the main documentation page:

For a list of most of the samples that have been built with PythonCard and screenshots of them in action go to:

The kind people at SourceForge host the project:

If you want to get involved the main contact point is the Mailing list:

Posted by Andy Todd at 11:25 PM | Comments (0)

May 03, 2006

Setting up User Directories under Apache2 on Ubuntu

My Powerbook is once more under the knife so I'm back playing around with Ubuntu on my work laptop.

Whilst perusing this Windows to Ubuntu transition guide I discovered that I can turn on user directories quite easily. Of course the instructions are a little misleading and the top Google hit, this Ubuntu forum thread doesn't quite work for me either.

Under Dapper and with Apache2 installed I had to;

$ sudo a2enmod userdir
$ sudo /etc/init.d/apache2 force-reload
$ cd
$ mkdir public_html

And now it's working like a charm. This change means that I can keep all of my files under my home directory and not pollute /var/www like I was doing.

Posted by Andy Todd at 01:14 PM | Comments (2)