Monthly Archives: February 2011

tmux: Almost What I Want

I’ve spent a few hours playing around with tmux, which is a neat replacement for GNU screen. My conclusion: tmux is really neat, but it’s not quite what I want. A bit about tmux Tmux does pretty much everything that … Continue reading

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

Inline Deferreds in Twisted (Without Yield)

Introduction By buffer of new stuff to blog about is getting low, so today I bring you something I played with a bit last year. After being introduced to Twisted‘s inlineDeferred decorator, I decided to have some fun with that … Continue reading

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

Pseudo Terminals in Python

Summary In this post I’ll show you a Python script which becomes a pseudo terminal so that it can act as a man in the middle between your terminal emulator and a running process.  In my example, the Python script … Continue reading

Posted in long | Tagged , , | 2 Comments

Python: Context-Sensitive Formatting

Introduction Python’s new string formatting syntax, introduced in Python 2.6, provides many advantages over the old %-based formatting.  I’ve set out to extend this string formatting, in order to help developers avoid making silly mistakes like forgetting to quote special … Continue reading

Posted in long | Tagged , , , , , , | Comments Off