{"width":"100%","height":"190","description":"\u81ea\u5206\u7528\u30e1\u30e2 \u5168\u90e8\u8aad\u307f\u305f\u3044\u3068\u304d def read_file(filepath): with open(filepath, 'r') as stream: contents = stream.read() print contents 1\u884c\u305a\u3064 def read_file(filepath): with open(filepath, 'r') as stream: for line in stream: print line","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkkkw.hatenablog.jp%2Fentry%2Fpython%2Fread-file\" title=\"python\u3067\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u8fbc\u307f - kikukawa&#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>","blog_url":"https://kkkw.hatenablog.jp/","version":"1.0","url":"https://kkkw.hatenablog.jp/entry/python/read-file","type":"rich","blog_title":"kikukawa's diary","provider_url":"https://hatena.blog","image_url":null,"author_name":"devillikeaangel","provider_name":"Hatena Blog","title":"python\u3067\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u8fbc\u307f","categories":["Python"],"published":"2014-11-19 10:00:00","author_url":"https://blog.hatena.ne.jp/devillikeaangel/"}