{"author_url":"https://blog.hatena.ne.jp/ayokoyama/","image_url":null,"published":"2007-04-20 00:00:01","provider_url":"https://hatena.blog","height":"190","url":"https://ayokoyama.hatenadiary.org/entry/20070420/p1","author_name":"ayokoyama","blog_title":"\u79c1\u306e\u4e8c\u6b21\u8a18\u61b6","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayokoyama.hatenadiary.org%2Fentry%2F20070420%2Fp1\" title=\" &#39;&#39; \u3068 None \u306f\u9055\u3046\u306e\u3060 - \u79c1\u306e\u4e8c\u6b21\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["python"],"provider_name":"Hatena Blog","version":"1.0","blog_url":"https://ayokoyama.hatenadiary.org/","description":"Python \u306e\u30a4\u30c7\u30a3\u30aa\u30e0\u3067\u3001\u3053\u3046\u3044\u3046\u306e\u304c\u3042\u308b\u3002 f = open('file.txt') whlie 1: line = f.readline() if not line: break process(line)\u3053\u308c\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u7d42\u7aef\uff08EOF\uff09\u306b\u306a\u308b\u3068 readline() \u304c '' \uff08\u7a7a\u6587\u5b57\u5217\uff09 \u3092\u8fd4\u3057\u3001'' \u306f\u8ad6\u7406\u5024\u3092\u671f\u5f85\u3059\u308b\u6587\u8108\u3067 False \u3068\u89e3\u91c8\u3055\u308c\u308b\u3053\u3068\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3002\u3061\u306a\u307f\u306b None \u3082\u540c\u3058\u72b6\u6cc1\u3067 False \u3068\u89e3\u91c8\u3055\u308c\u308b\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u3057\u305f\u8aa4\u89e3\u304c\u751f\u3058\u308b\uff08\u304b\u3082\u77e5\u308c\u306a\u3044\uff09\u3002 \u3068\u3044\u3046\u306e\u306f\u3001\u3042\u304f\u307e\u3067\u3082 EOF \u3067 readline() \u304c\u8fd4\u3059\u306e\u306f '' \u3067\u3042\u3063\u3066\u3001None \u3084 Fal\u2026","title":" '' \u3068 None \u306f\u9055\u3046\u306e\u3060","type":"rich","width":"100%"}