{"published":"2011-06-18 00:00:00","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e Python(\u30d1\u30a4\u30bd\u30f3)\u3092\u5165\u9580\u3057\u3088\u3046\u3068 Hello World \u3092\u5b9f\u884c\u3057\u305f\u3089\u3001\u3044\u304d\u306a\u308a\u30a8\u30e9\u30fc\u3055\u3002 hello.py # -*- coding:utf-8 -*- print(u'\u3053\u3093\u306b\u3061\u306f') \u51fa\u529b\uff1a $ python hello.py Traceback (most recent call last): File \"hello.py\", line 2, in <module> print(u'\u3053\u3093\u306b\u3061\u306f') UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal \u2026","author_name":"itouhiro","url":"https://itouhiro.hatenablog.com/entry/20110618","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fitouhiro.hatenablog.com%2Fentry%2F20110618\" title=\"Python\u3092\u5b66\u3076(1) HelloWorld\u3067\u3044\u304d\u306a\u308a\u30a8\u30e9\u30fc (Python2\u3068Unicode) - itouhiro\u306f\u3066\u306a\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>","blog_title":"itouhiro\u306f\u3066\u306a\u30d6\u30ed\u30b0","height":"190","title":"Python\u3092\u5b66\u3076(1) HelloWorld\u3067\u3044\u304d\u306a\u308a\u30a8\u30e9\u30fc (Python2\u3068Unicode)","image_url":"http://f.hatena.ne.jp/images/fotolife/i/itouhiro/20080902/20080902172316.gif","blog_url":"https://itouhiro.hatenablog.com/","version":"1.0","categories":["Python"],"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/itouhiro/","width":"100%","type":"rich"}