{"type":"rich","height":"190","categories":["Python"],"title":"Python \u30ec\u30b7\u30d4\u66f4\u65b0\u3001\u30d5\u30a1\u30a4\u30eb\u309216\u9032\u30c0\u30f3\u30d7\u3059\u308b","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","blog_url":"https://fgshun.hatenablog.com/","version":"1.0","author_name":"fgshun","blog_title":"\u9280\u6708\u306e\u7b26\u53f7","description":"\u300c162:\u30d5\u30a1\u30a4\u30eb\u309216\u9032\u30c0\u30f3\u30d7\u3059\u308b\u300d\u3092\u624b\u76f4\u3057\u3002\u4f7f\u3046\u3082\u306e\u304c\u5909\u308f\u3063\u305f\u306e\u3067\u3002 \u65e7: 'Python'.encode('hex_codec') \u65b0: binascii.hexlify('Python') hex_codec \u306f\u5185\u90e8\u3067 binascii.hexlify \u3092\u7528\u3044\u3066\u3044\u308b\u3002\u305d\u3057\u3066 hexlify \u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\u7c21\u5358\u3002\u306a\u3089\u3070\u76f4\u63a5\u4f7f\u3063\u305f\u307b\u3046\u304c\u3088\u3044\u306f\u305a\u3002 Python 3 \u3067\u306f hex_codec \u304c\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u3001\u3068\u3044\u3046\u554f\u984c\u3082\u3042\u308b\u3053\u3068\u3060\u3057\u3002 # coding: utf-8 import sys import binascii def hexdump(in_file=sys.stdin, out_\u2026","published":"2009-12-25 09:04:20","url":"https://fgshun.hatenablog.com/entry/20091225/1261699460","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffgshun.hatenablog.com%2Fentry%2F20091225%2F1261699460\" title=\"Python \u30ec\u30b7\u30d4\u66f4\u65b0\u3001\u30d5\u30a1\u30a4\u30eb\u309216\u9032\u30c0\u30f3\u30d7\u3059\u308b - \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>","author_url":"https://blog.hatena.ne.jp/fgshun/"}