Example code from my PyCon APAC 2012 talk.