Recent articles


Yes/No prompt for Python CLI

18 September 2014

Using this one weird trick from distutils it's trivial to handle yes/no prompts for command-line Python programs.


Clipboard paste Python script to IPython shell

18 September 2014

Using IPython magic functions %paste and %cpaste you can paste code from your system clipboard without worrying about whitespace hiccups. Also works for Django's manage.py shell.


Sony Walkman NWZ-ZX1 Review

05 September 2014

I wrote a review for GoodGearGuide Australia about Sony's recent addition to the Walkman line.