Posts for python

Nov 16

Running a test mail server

A quick tip to ease testing emails.

Nov 08

Python, Unicode and UnicodeDecodeError

In the years I've been developing in Python, Unicode seems to be the topic which causes the greatest amount of confusion amongst developers. Hopefully much of this confusion should go away in Python 3, for reasons I'll come to at the end; but until then, the UnicodeDecodeError is the bane of many developers' lives.

Apr 17

Installing GeoDjango with PostgreSQL and zc.buildout

The installation of the PostgreSQL requirements is somewhat daunting. I've spent a bit of time putting together a buildout.cfg to try to make this easier.

Mar 03

Understanding imports and PYTHONPATH

An understanding of PYTHONPATH is key when developing new Python modules, or installing third-party packages and eggs. This article gives an overview of PYTHONPATH and the way Python imports modules.

Nov 12

A Django Development Environment with zc.buildout

This article will show you how to create a repeatable Django development environment from scratch using zc.buildout.

May 07

Creating a Python 2.4, Plone and Zope Development Environment on Mac OS X Leopard

Compiling Python, Zope and Plone on Leopard isn't as easy as it is on Linux. Here's a walkthrough of the process, from a bare Leopard install right through to having a working Plone 3 development environment, using paster and buildout.

Apr 15

import this.NET

The Zen of Python doesn't just apply to Python.

Aug 19

Facebook: Photography Qwacks

I'm building a small site for a photography group I'm a member of.

Aug 13

Don't Learn Python

Only joking. I just found a blog post which articulates a lot of the frustration I feel at the moment.

Jul 07

Python Genius Available

I've written a lot of .NET code recently. I want to do some more Python.