{"blog_url":"https://minus9d.hatenablog.com/","published":"2016-09-22 19:43:16","width":"100%","type":"rich","blog_title":"minus9d's diary","provider_name":"Hatena Blog","author_name":"minus9d","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fminus9d.hatenablog.com%2Fentry%2F2016%2F09%2F22%2F194316\" title=\"python\u3067with\u306b\u3088\u308b\u30cd\u30b9\u30c8\u3092\u9632\u3050 - minus9d&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","provider_url":"https://hatena.blog","image_url":null,"height":"190","author_url":"https://blog.hatena.ne.jp/minus9d/","title":"python\u3067with\u306b\u3088\u308b\u30cd\u30b9\u30c8\u3092\u9632\u3050","description":"Python\u3067\u306f\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3068\u304d\u306a\u3069\u306bwith\u3092\u4f7f\u3046\u306e\u304c\u5b9a\u77f3\u3067\u3042\u308b\uff08\u53c2\u8003\uff1a\u30d5\u30a1\u30a4\u30eb - Dive Into Python 3 \u65e5\u672c\u8a9e\u7248\uff09\u3002\u3057\u304b\u3057\u3001\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3068\u304d\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30cd\u30b9\u30c8\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3046\u306e\u304c\u6c17\u306b\u5165\u3089\u306a\u304b\u3063\u305f\u3002 with open('a.txt', 'w') as f1: with open('b.txt', 'w') as f2: # \u51e6\u7406 Multiple variables in Python 'with' statement - Stack Overflow \u306b\u3088\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u30cd\u30b9\u30c8\u3092\u56de\u907f\u3067\u304d\u308b\u3002Python 2.7\u3068Python 3.1\u4ee5\u964d\u3067\u5229\u7528\u53ef\u80fd\u3089\u3057\u3044\u2026","url":"https://minus9d.hatenablog.com/entry/2016/09/22/194316","categories":["python"]}