dackdive's blog
id:dackdive
[python 2系]with構文 (__enter__と__exit__)
__enter__ と __exit__ という見慣れないメソッドに触れる機会があったので、メモ。 python のバージョンは 2.7。