{"blog_title":"\u65e5\u3005\u7cbe\u9032","image_url":null,"author_name":"anton0825","width":"100%","provider_url":"https://hatena.blog","categories":["IT"],"blog_url":"https://anton0825.hatenablog.com/","title":"python\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u30b3\u30fc\u30c9\u3092\u7c21\u5358\u306b\u3059\u308b","version":"1.0","provider_name":"Hatena Blog","published":"2017-05-05 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanton0825.hatenablog.com%2Fentry%2F2017%2F05%2F05%2F000000\" title=\"python\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u30b3\u30fc\u30c9\u3092\u7c21\u5358\u306b\u3059\u308b - \u65e5\u3005\u7cbe\u9032\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u666e\u901a\u306fwith open(path) as f: ...\u306e\u3088\u3046\u306b\u66f8\u304f\u3068\u601d\u3046\u3051\u3069\u3001\u4ee5\u4e0b\u3060\u3068one liner\u3067\u304b\u3051\u308b\u3002 from pathlib import Path contents = Path(file_path).read_text() \u7d30\u304b\u3044\u3051\u3069\u3061\u3087\u3063\u3068\u5b09\u3057\u3044\u3002 \u53c2\u8003\uff1a stackoverflow.com","type":"rich","url":"https://anton0825.hatenablog.com/entry/2017/05/05/000000","author_url":"https://blog.hatena.ne.jp/anton0825/","height":"190"}