{"description":"Python 3 \u306e\u6570\u5024\u3092\u30d0\u30a4\u30c8\u5217\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5\u306f bytes([i])*1\u3002\u3044\u307e\u307e\u3067\u3068\u3042\u304d\u3089\u304b\u306b\u9055\u3046\u3053\u3068\u3092\u77e5\u3063\u305f\u306e\u304c\u767a\u7aef\u3002 >>> bytes([97]) b'a' \u30e6\u30cb\u30b3\u30fc\u30c9\u6587\u5b57\u5217\u3001\u30d0\u30a4\u30c8\u5217\u306e\u9055\u3044\u3092\u8abf\u67fb\u958b\u59cb\u3002 \u578b\u306e\u540d\u79f0\u3068\u30ea\u30c6\u30e9\u30eb\u8868\u8a18 Python 2.6 \u306f\u65b0\u65e7\u4e21\u65b9\u306e\u66f8\u304d\u65b9\u304c\u3067\u304d\u308b\u3082\u306e\u3082\u3002 Python 2.5\u4ee5\u524d Python 2.6 Python 3.0 and 3.1 \u30e6\u30cb\u30b3\u30fc\u30c9\u6587\u5b57\u5217\u578b unicode unicode str \u30d0\u30a4\u30c8\u5217\u578b str str or bytes*2 bytes \u53ef\u5909\u30d0\u30a4\u30c8\u5217\u578b \uff08\u306a\u3057\uff09*3 bytearray bytearray \u30e6\u30cb\u30b3\u30fc\u30c9\u30ea\u30c6\u30e9\u30eb u'a\u2026","categories":["Python"],"blog_url":"https://fgshun.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/fgshun/","type":"rich","provider_name":"Hatena Blog","version":"1.0","width":"100%","title":"Python 2 \u3068 Python 3 \u306e\u30e6\u30cb\u30b3\u30fc\u30c9\u6587\u5b57\u5217\u3001\u30d0\u30a4\u30c8\u5217\u306e\u9055\u3044\u30e1\u30e2","provider_url":"https://hatena.blog","image_url":null,"height":"190","author_name":"fgshun","published":"2009-09-01 00:25:30","blog_title":"\u9280\u6708\u306e\u7b26\u53f7","url":"https://fgshun.hatenablog.com/entry/20090901/1251818730","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffgshun.hatenablog.com%2Fentry%2F20090901%2F1251818730\" title=\"Python 2 \u3068 Python 3 \u306e\u30e6\u30cb\u30b3\u30fc\u30c9\u6587\u5b57\u5217\u3001\u30d0\u30a4\u30c8\u5217\u306e\u9055\u3044\u30e1\u30e2 - \u9280\u6708\u306e\u7b26\u53f7\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}