{"title":"Python2\u306estr\u306f\u6b7b\u3093\u3060","width":"100%","provider_url":"https://hatena.blog","height":"190","image_url":null,"url":"https://atsuoishimoto.hatenablog.com/entry/20110425/1303696948","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatsuoishimoto.hatenablog.com%2Fentry%2F20110425%2F1303696948\" title=\"Python2\u306estr\u306f\u6b7b\u3093\u3060 - atsuoishimoto&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Python3\u306e\u6982\u7565\u3092\u3056\u3063\u3068\u805e\u304f\u3068\u3001Python3\u3067\u306fPython2\u306e\u30e6\u30cb\u30b3\u30fc\u30c9\u578b\u304c\u6587\u5b57\u5217\u578b\u306b\u306a\u308a\u3001\u6587\u5b57\u5217\u578b\u306f\u30d0\u30a4\u30c8\u6587\u5b57\u5217\u578b\u306b\u306a\u3063\u305f\u3001\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3092\u6301\u3063\u3066\u3057\u307e\u3046\u4eba\u3082\u591a\u3044\u3060\u308d\u3046\u3002Python2\u306e s=\"spamspamspam\" \u306f\u3001Python3\u306e s=b\"spamspamspam\" \u3068\u540c\u3058\u3060\u3001\u3068\u3002\u3057\u304b\u3057\u3001Python3\u306b\"\u30d0\u30a4\u30c8\u6587\u5b57\u5217\"\u306a\u3093\u3066\u5b58\u5728\u3057\u306a\u3044\u3002\u3042\u308b\u306e\u306f \"bytes\"\u3060\u3002\u8907\u6570\u5f62\u3092\u793a\u3059 \"s\"\u306b\u6ce8\u610f\u3057\u3088\u3046\u3002bytes\u306f\u30d0\u30a4\u30c8\u306e\u30b3\u30f3\u30c6\u30ca\u3067\u3042\u308a\u3001\u30d0\u30a4\u30c8\u3068\u306f\u6574\u6570\u5024\u3060\u3002\u30d0\u30a4\u30c8\u306f\u6587\u5b57\u3067\u3059\u3089\u306a\u3044\u306e\u3060\u3002\u305d\u3046\u3001\u3060\u304b\u3089\u3082\u3046\u8a8d\u3081\u3088\u3046\u3002Python2\u306estr\u306f\u6b7b\u3093\u3060\u3002Python3\u306b\u306f\u3082\u3046\u5b58\u5728\u3057\u306a\u3044\u3002s\u2026","type":"rich","author_url":"https://blog.hatena.ne.jp/atsuoishimoto/","published":"2011-04-25 11:02:28","blog_url":"https://atsuoishimoto.hatenablog.com/","blog_title":"atsuoishimoto's diary","version":"1.0","provider_name":"Hatena Blog","author_name":"atsuoishimoto","categories":["python"]}