{"blog_url":"https://y0m0r.hateblo.jp/","published":"2012-08-05 19:53:10","height":"190","provider_name":"Hatena Blog","version":"1.0","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20120805%2F1344163990\" title=\"Python\u306e\u52c9\u5f37 : \u30c6\u30ad\u30b9\u30c8\u30d0\u30c3\u30d5\u30a1\u3092\u6271\u3046StringIO - \u30e1\u30e2\u7f6e\u304d\u5834\" 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":"\u30e1\u30e2\u7f6e\u304d\u5834","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","type":"rich","categories":["python"],"image_url":null,"description":"\u30d5\u30a1\u30a4\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u307f\u305f\u3044\u306a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u30c6\u30ad\u30b9\u30c8\u30d0\u30c3\u30d5\u30a1\u3092\u6271\u3046StringIO\u3068\u3044\u3046\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u3055\u308f\u3063\u3066\u307f\u307e\u3059\u3002 \u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3001\u30d0\u30c3\u30d5\u30a1\u306b\u6587\u5b57\u5217\u3092\u66f8\u304d\u8fbc\u3093\u3060\u308a\u3001\u8aad\u307f\u51fa\u3057\u305f\u308a\u3067\u304d\u307e\u3059 from StringIO import StringIO # \u30d0\u30c3\u30d5\u30a1\u3078\u66f8\u304d\u8fbc\u3080 output = StringIO() output.write(u'\u3042\u2026\u3042\u308a\u306e\u307e\u307e \u4eca \u8d77\u3053\u3063\u305f\u4e8b\u3092\u8a71\u3059\u305c\uff01\\n') output.write(u'\u300e\u304a\u308c\u306f\u5974\u306e\u524d\u3067\u968e\u6bb5\u3092\u767b\u3063\u3066\u3044\u305f\u3068\u601d\u3063\u305f\u3089\u3044\u3064\u306e\u307e\u306b\u304b\u964d\u308a\u3066\u3044\u305f\u300f\\n') # \u66f8\u304d\u8fbc\u307e\u308c\u305f\u5024\u3092\u53d6\u308a\u51fa\u3059 print output.getvalue() #\u2026","author_name":"yuheiomori0718","url":"https://y0m0r.hateblo.jp/entry/20120805/1344163990","width":"100%","title":"Python\u306e\u52c9\u5f37 : \u30c6\u30ad\u30b9\u30c8\u30d0\u30c3\u30d5\u30a1\u3092\u6271\u3046StringIO"}