{"title":"csv\u30e9\u30a4\u30d6\u30e9\u30ea","published":"2017-05-05 23:32:55","author_url":"https://blog.hatena.ne.jp/rare_Remrin/","provider_name":"Hatena Blog","width":"100%","author_name":"rare_Remrin","type":"rich","version":"1.0","categories":["\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c","python"],"url":"https://python-remrin.hatenadiary.jp/entry/2017/05/05/233255","blog_url":"https://python-remrin.hatenadiary.jp/","provider_url":"https://hatena.blog","height":"190","description":"csv\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3002 \u4ee5\u4e0b\u306e\u5185\u5bb9\u306etest.csv\u3092\u6e96\u5099\u3057\u307e\u3057\u305f\u3002 1,20 2,30 3,40 4,50 \u25cbcsv\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u53d6\u308a \uff08\uff11\uff09\u5404\u884c\u306f\u30ea\u30b9\u30c8\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3002 import csv with open(\"test.csv\", \"r\") as f: data = csv.reader(f) print(data) <_csv.reader object at 0x...> for i in data: # \u5404\u884c\u304c\u30ea\u30b9\u30c8\u306b\u306a\u3063\u3066\u3044\u308b print(i) # ['1', '20'] # ['2', '30'] # ['3', '40'] # ['4', '50'] \uff08\uff12\uff09\u2026","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpython-remrin.hatenadiary.jp%2Fentry%2F2017%2F05%2F05%2F233255\" title=\"csv\u30e9\u30a4\u30d6\u30e9\u30ea - Remrin\u306epython\u653b\u7565\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"Remrin\u306epython\u653b\u7565\u65e5\u8a18"}