{"id":47,"date":"2013-04-08T10:56:58","date_gmt":"2013-04-08T01:56:58","guid":{"rendered":"http:\/\/humanrevlife.wordpress.com\/?p=47"},"modified":"2013-04-08T10:56:58","modified_gmt":"2013-04-08T01:56:58","slug":"fblist%e3%81%a7%e6%97%a5%e6%9c%ac%e8%aa%9e%e4%bd%bf%e3%81%84%e3%81%9f%e3%81%84%ef%bc%81","status":"publish","type":"post","link":"https:\/\/humrevlife.com\/?p=47","title":{"rendered":"FBList\u3067\u65e5\u672c\u8a9e\u4f7f\u3044\u305f\u3044\uff01"},"content":{"rendered":"<p>FBList \u65e5\u672c\u8a9e\u3092\u4f7f\u3046\u30fb\u30fb\u30fb\u7c21\u5358\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u3057\u3066\u3084\u3089\u308c\u307e\u3057\u305f(-_-;)<\/p>\n<p>\u308f\u304b\u3063\u305f\u4e8b<\/p>\n<p>1, unicode\u6587\u5b57\u306fFBList\u306b\u8868\u793a\u3067\u304d\u306a\u3044<\/p>\n<p>2, ascii\u6587\u5b57\u306fFBList\u306b\u8868\u793a\u3067\u304d\u308b(\u5f53\u305f\u308a\u524d<\/p>\n<p>3, FBList\u8ffd\u52a0\u5f8c\u306eascii\u6587\u5b57\u306f\u518d\u53d6\u5f97\u3059\u308b\u3068\u6587\u5b57\u5316\u3051\u3059\u308b<\/p>\n<p>\u7d50\u679c\u3092\u8a00\u3046\u30683\u3064\u554f\u984c\u304c\u3042\u308a\u307e\u3057\u3066\u3001<\/p>\n<p>1, \u6587\u5b57\u5316\u3051\u3057\u305f\u6587\u5b57\u5217\u3092\u3044\u304b\u306b\u5fa9\u5143\u3059\u308b\u304b\uff1f<\/p>\n<p>2, 16\u9032\u6570\u306e\u6587\u5b57\u5217\u3092\u3069\u3046\u3084\u3063\u3066int\u578b\u306b\u76f4\u3059\u306e\uff1f<\/p>\n<p>3, int(str,\u57fa\u6570)\u306e\u8fd4\u308a\u5024\u304a\u304b\u3057\u304f\u306d\uff1f<\/p>\n<p>\u3063\u3066\u304a\u8a71\u306b\u306a\u308b\u306e\u3067\u3059\u304c\uff11\u306fpython\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u3042\u308b10\u9032\u6570\u309216\u9032\u6570\u306b\u76f4\u3059hex()\u95a2\u6570\u304c\u3042\u308b\u3002\u3059\u3050\u306b\u7d42\u308f\u308b\u3068\u601d\u3063\u3066\u305f\u306e\u3067\u3059\u3088\u3002\u3048\u3047\u601d\u3063\u3066\u307e\u3057\u305f\u3068\u3082\u8fd4\u308a\u5024\u304cstr\u578b\u3067\u306a\u3051\u308c\u3070\u306d\u3002<\/p>\n<p>\u305d\u3053\u30672\u306e\u304a\u8a71\u304c\u3067\u3066\u304d\u305f\u306e\u3067\u3059<\/p>\n<p>lstr = &#8220;\u9078\u629e\u3059\u308b&#8221;<\/p>\n<p>tmp = hex(ord(lstr))<\/p>\n<p>printt type(tmp),tmp<\/p>\n<p>tmp = int(tmp,16)<\/p>\n<p>print type(tmp),tmp<\/p>\n<p>\u578b\u5909\u63db\u306b\u4f7f\u3046int(str,\u57fa\u6570)\u3063\u3066\u7b2c\u4e00\u5f15\u6570\u306e\u6587\u5b57\u5217\u3092\u57fa\u6570\u306e\u9032\u6570\u3067int\u578b\u306b\u3057\u3066\u8fd4\u3057\u307e\u3059\u3088\u30fc\u3063\u3066\u304a\u8a71\u306e\u306f\u305a\u306a\u306e\u306b\u8fd4\u308a\u5024\u304c\u3053\u308c<\/p>\n<p>&lt;type &#8216;str&#8217;&gt; 0xe6<\/p>\n<p>&lt;type &#8216;int&#8217;&gt; 230<\/p>\n<p>\u3069\u3046\u3057\u308d\u3068\uff1f(\u00b4\uff65\u0414\uff65)\u300d<\/p>\n","protected":false},"excerpt":{"rendered":"FBList \u65e5\u672c\u8a9e\u3092\u4f7f\u3046\u30fb\u30fb\u30fb\u7c21\u5358\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002 \u305d\u3057\u3066\u3084\u3089\u308c\u307e\u3057\u305f(-_-;) \u308f\u304b\u3063\u305f\u4e8b 1, unicode\u6587\u5b57\u306fFBList\u306b\u8868\u793a\u3067\u304d\u306a\u3044 2, ascii\u6587\u5b57\u306fFBList\u306b\u8868\u793a\u3067\u304d\u308b(\u5f53\u305f\u308a &#8230;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5],"tags":[11,237,18,19],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-motionbuilder","category-python","tag-ascii","tag-motionbuilder","tag-python-2","tag-unicode"],"_links":{"self":[{"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/humrevlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=47"}],"version-history":[{"count":0,"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/posts\/47\/revisions"}],"wp:attachment":[{"href":"https:\/\/humrevlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/humrevlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/humrevlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}