{"categories":["Python","Python-\u30a8\u30e9\u30fc\u5bfe\u5fdc"],"url":"https://a1026302.hatenablog.com/entry/2021/05/12/204433","width":"100%","title":"\u300cSyntaxError: bytes can only contain ASCII literal characters.\u300d","type":"rich","blog_url":"https://a1026302.hatenablog.com/","blog_title":"\u3082\u306e\u3065\u304f\u308a\u306e\u30d6\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/a1026302/","provider_name":"Hatena Blog","description":"Python\u3067\u5168\u89d2\u6587\u5b57\u3092\u30d0\u30a4\u30c8\u5909\u63db\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3057\u305f\u3002 \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5bfe\u5fdc\u3067\u304d\u305d\u3046\u3067\u3059\u3002 str = '\u3042' print(str.encode(\"UTF-8\")) \u51fa\u529b b'\\xe3\\x81\\x82'","provider_url":"https://hatena.blog","height":"190","author_name":"a1026302","version":"1.0","published":"2021-05-12 20:44:33","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/a/a1026302/20210427/20210427221917.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2021%2F05%2F12%2F204433\" title=\"\u300cSyntaxError: bytes can only contain ASCII literal characters.\u300d - \u3082\u306e\u3065\u304f\u308a\u306e\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>"}