Tag Archives: python

Python Unit Testing

I’ve had to write and maintain Python unit tests both for work and for Trosnoth.  I’ve played around with py.test and nose, and have done a tiny bit with trial (for twisted).  As a result I’ve come up with the … Continue reading

Posted in midlength | Tagged , , , , | Comments Off on Python Unit Testing

Merging Pdf Pages

What on Earth? This post describes one method of merging the pages of two pdf documents. That is, creating an ouput file where page 1 of the output is the result of merging page 1 of each of the inputs, … Continue reading

Posted in midlength | Tagged , , , , | Comments Off on Merging Pdf Pages

Things I’ve Learnt: June 2010

Here’s my list of shareworthy things I’ve learnt recently, together with some links for further reading. If you’re writing a Mozilla Extensions (e.g. an extension for Firefox) and you want to launch a process on the local computer, you can … Continue reading

Posted in short | Tagged , , , , , , , | Comments Off on Things I’ve Learnt: June 2010

Something Beautiful

I was inspired recently to write a computer program which draws pretty images. Here are a few screenshots. Getting the Code I have uploaded the code to bit bucket. If you have mercurial installed, you can get it by typing: … Continue reading

Posted in midlength | Tagged , , , , | Comments Off on Something Beautiful

HATE: Python-based Terminal Emulator

Introduction A while ago I came across a terminal emulator called HATE: the High Availability Terminal Emulator. The original idea was for it to be a terminal emulator that could survive X crashing, but what caught my eye was the … Continue reading

Posted in midlength | Tagged , , , , | Comments Off on HATE: Python-based Terminal Emulator