{"published":"2010-03-17 22:16:57","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnamao.hatenablog.com%2Fentry%2F20100317%2F1268831817\" title=\" \u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u66f8\u304d - \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>","title":" \u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u66f8\u304d","image_url":null,"provider_url":"https://hatena.blog","type":"rich","url":"https://tnamao.hatenablog.com/entry/20100317/1268831817","blog_url":"https://tnamao.hatenablog.com/","version":"1.0","blog_title":"\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/monajiro/","width":"100%","categories":["Python"],"height":"190","provider_name":"Hatena Blog","description":"Python\u306e\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u306f\u3001\u30d3\u30eb\u30c8\u30a4\u30f3\u95a2\u6570\u3092\u901a\u3058\u3066\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002 infile = open('input.txt', 'r') outfile = open('output.txt', 'w')Input/Output\u3067\u5171\u901a\u306e\u95a2\u6570\u3067\u3059\u304c\u30012\u756a\u76ee\u306e\u5f15\u6570\u304c\u7570\u306a\u308a\u3001\u3053\u3053\u3067\u30e2\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 \u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u305f\u3042\u3068\u306f\u3001infile.read()\u3084output.write()\u3067\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u66f8\u304d\u3092\u3057\u307e\u3059\u3002Unicode\u306e\u8aac\u660e\u306b\u3082\u66f8\u304d\u307e\u3057\u305f\u304c\u3001Java\u306eStream/Reader/Writer\u306b\u3042\u3063\u305f\u3088\u3046\u306a\u6587\u5b57\u30b3\u30fc\u30c9\u306e\u6307\u5b9a\u306f \u5b58\u5728\u305b\u305a\u3001\u66f8\u304d\u3060\u3059\u6642\u306b\u306f output.write(u'\u30c6\u30b9\u30c8'.\u2026","author_name":"monajiro"}