Fredrik Lundh just posted an excellent overview of the “with” statement. If you haven’t been watching, the “with” statement is new in Python 2.5.