[Tutor] Using 'requests' + 'with statement' in Python 3.4.1

Danny Yoo dyoo at hashcollision.org
Fri Sep 19 20:41:30 CEST 2014


>> class AutoClosable(object):

[cut]

> There is also
>
> <https://docs.python.org/dev/library/contextlib.html#contextlib.closing>



Ah, much better!  Thanks Peter.


More information about the Tutor mailing list