Tag Archives: framework

Romulus, My Window Manager

About a year ago, I wrote about making your own window manager in Python, and how to extend this to use Twisted as your window manager’s main loop. Around the time I wrote those articles, I also wrote a tiling … Continue reading

Posted in midlength | Tagged , , , , | 5 Comments

Twisted + Pygame the Easy Way

I’ve put together a Python package called fibre. It provides helpers to make it easy to write asynchronous applications. It uses Twisted under the hood. I’ve also made a package called fibre.ui. It adds user interface support using pygame. One … Continue reading

Posted in midlength | Tagged , , , , | Comments Off

Python Window Manager, Now With Twisted

And Now for the Big Event Loop Last week I wrote about how to create a window manager in Python and posted code for a simple example window manager. The example I posted was about 260 lines long including comments. … Continue reading

Posted in midlength | Tagged , , , , , | Comments Off

How to Write a Window Manager in Python

Window Manager of Your Dreams I wrote a few months ago about a bunch of different window managers which I’d investigated. In this post, I’ll present the source code for a new, very basic, window manager written entirely in Python. … Continue reading

Posted in midlength | Tagged , , , , , | 2 Comments

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