{"image_url":null,"url":"https://hidemon.hatenadiary.jp/entry/20090121/1232548336","version":"1.0","title":"Python with statement","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","published":"2009-01-21 23:32:16","author_name":"hidemon","height":"190","blog_title":"hidemon\u306e\u30d6\u30ed\u30b0","categories":["python"],"blog_url":"https://hidemon.hatenadiary.jp/","type":"rich","author_url":"https://blog.hatena.ne.jp/hidemon/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhidemon.hatenadiary.jp%2Fentry%2F20090121%2F1232548336\" title=\"Python with statement - hidemon\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Python \u306e2.6\u304b\u3089with statement \u304c\u6a19\u6e96\u6a5f\u80fd\u3068\u306a\u3063\u305f\uff0e2.5\u3067\u3082future \u6a5f\u80fd\u3068\u3057\u3066\u53d6\u308a\u8fbc\u307e\u308c\u3066\u3044\u305f\u306e\u3067\u76ee\u65b0\u3057\u304f\u306f\u306a\u3044\u304c\uff0c\u306a\u304b\u306a\u304b\u4fbf\u5229\u3067\uff0c\u3082\u30462.4\u306b\u306f\u623b\u308c\u306a\u3044\uff0ewith statement\u306ftry, except, finally \u3067\u5b9f\u73fe\u3067\u304d\u308b\u69cb\u9020\u3092\u3082\u3046\u5c11\u3057\u7c21\u5358\u306b\u66f8\u3051\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u308c\u308b\uff0e\u4ee5\u524d\u306e\u30a8\u30f3\u30c8\u30ea\u3067\u66f8\u3044\u305fthreading \u30e9\u30a4\u30d6\u30e9\u30ea\u306eCondition\u306a\u3069\u306b\u4f7f\u3046\u3068\u3068\u3066\u3082\u7c21\u5358\u306b\u66f8\u3051\u308b\uff0e\u3053\u306e\u3088\u3046\u306awith\u3067\u4f7f\u3046\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092Context Manager\u3068\u547c\u3076\uff0eContext Manager\u3092\u66f8\u304f\u306e\u306f\u5272\u306b\u7c21\u5358\u306a\u306e\u3067\uff0c\u3061\u3087\u3063\u3068\u66f8\u3044\u3066\u307f\u305f\uff0e\u3053\u3061\u3089\u306e\u8a18\u4e8b\u306b\u3088\u304f\u307e\u3068\u307e\u3063\u3066\u2026"}