The end result should be the same function as the Go guide, but Python! Signed-off-by: Nic Cope <nicc@rk0n.org>