{"provider_url":"https://hatena.blog","description":"C vs Python vs Ruby vs Haskell(\u30ca\u30f3\u30d0\u30ea\u30f3\u30b0de\u30d9\u30f3\u30c1\u30de\u30fc\u30af\uff09 \u3092\u52dd\u624b\u306b\u6dfb\u524a\u3002 \u4eca\u56de\u306f\u8a71\u984c\u7684\u306b\u6700\u9069\u5316\u3059\u308b\u306b\u306f\u30d0\u30a4\u30c8IO\u306b\u3059\u308b\u3068\u304b\u51fa\u3066\u304d\u3066\u9762\u5012\u306a\u306e\u3067\u7701\u7565\u3057\u3066\u3001 Pythonic \u306b\u3059\u308b\u3060\u3051\u3002 \u5143\u306e\u30b3\u30fc\u30c9\u306f import sys argvs = sys.argv del argvs[0] for i in range(len(argvs)): print(argvs[i]) fin = open(argvs[i], 'r') a = 0 for line in fin: a += 1 print(a, line, end = '') print(\"\\n\") fin.c\u2026","author_url":"https://blog.hatena.ne.jp/methane/","provider_name":"Hatena Blog","url":"https://methane.hatenablog.jp/entry/2012/11/19/182603","categories":[],"title":"\u52dd\u624b\u306b\u6dfb\u524a (C vs Python vs Ruby vs Haskell(\u30ca\u30f3\u30d0\u30ea\u30f3\u30b0de\u30d9\u30f3\u30c1\u30de\u30fc\u30af))","blog_title":"methane\u306e\u30d6\u30ed\u30b0","type":"rich","height":"190","author_name":"methane","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmethane.hatenablog.jp%2Fentry%2F2012%2F11%2F19%2F182603\" title=\"\u52dd\u624b\u306b\u6dfb\u524a (C vs Python vs Ruby vs Haskell(\u30ca\u30f3\u30d0\u30ea\u30f3\u30b0de\u30d9\u30f3\u30c1\u30de\u30fc\u30af)) - methane\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2012-11-19 18:26:03","blog_url":"https://methane.hatenablog.jp/","version":"1.0","width":"100%"}