:+1:  FYI, this is also covered [in the style guide](http://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Files_and_Sockets#Files_and_Sockets). [This post](http://effbot.org/zone/python-with-statement.htm) goes into some more detail why it's good practice.