Thanks.

`with` is also available in Python 2.5, you just need to add `from __future__ import absolute_import` to the top of the file where you use `with`.