{"blog_title":"\u039b\u03ac\u03b4\u03b9 \u0392\u03b9\u03ce\u03c3\u03b1\u03c2","url":"https://kenkiti.hatenadiary.jp/entry/20060614/p2","height":"190","type":"rich","author_name":"kenkitii","provider_url":"https://hatena.blog","title":"Python\u306e\u30bd\u30fc\u30b9\u3092\u30ab\u30e9\u30fc\u8868\u793a","author_url":"https://blog.hatena.ne.jp/kenkitii/","categories":["python"],"version":"1.0","published":"2006-06-14 00:00:01","description":"tokenize\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3063\u3066python\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u306b\u8272\u3092\u3064\u3051\u3066\u307f\u307e\u3057\u305f\u3002 - colorizesource.py import sys import keyword import token, tokenize filename = sys.argv[0] if len(sys.argv) > 1: filename = sys.argv[1] token_colors = { token.NUMBER: '#0080C0', token.OP: '#0000C0', token.STRING: '#004080', tokenize.COMMENT: '#008000', token\u2026","image_url":null,"provider_name":"Hatena Blog","width":"100%","blog_url":"https://kenkiti.hatenadiary.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkenkiti.hatenadiary.jp%2Fentry%2F20060614%2Fp2\" title=\"Python\u306e\u30bd\u30fc\u30b9\u3092\u30ab\u30e9\u30fc\u8868\u793a - \u039b\u03ac\u03b4\u03b9 \u0392\u03b9\u03ce\u03c3\u03b1\u03c2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}