Magazine Layout in Python

A more-or-less direct translation of the magazinelayout PHP class from this A List Apart article into Python.

Source code: magazinelayout.py

Image resizing script: resize.py

I'd love to hear your comments.