{"url":"https://devlights.hatenablog.com/entry/20050318/1150863673","provider_name":"Hatena Blog","author_name":"gsf_zero1","categories":["python"],"height":"190","blog_title":"\u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18","title":" \u6570\u5024\u8868\u73fe","image_url":null,"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F20050318%2F1150863673\" title=\" \u6570\u5024\u8868\u73fe - \u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","width":"100%","description":"[Python\u3067\u306e\u6570\u5024\u8868\u73fe](1) 10\u9032\u6570 num = 10 #=> 10 (2) 16\u9032\u6570 num = 0x0a #=> 10 (3) 8\u9032\u6570 num = 012 #=> 10 (4) 2\u9032\u6570 2\u9032\u6570\u3060\u3051\u4e0b\u306e\u3088\u3046\u306b\u3057\u306a\u3044\u3068\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u30fb\u30fb\u30fb \u4ed6\u306e\u3084\u308a\u65b9\u304c\u3042\u308b\u5834\u5408\u306f\u3054\u6559\u6388\u3092(\u00b4\u30fc\uff40) int(str('1010'), 2) #=> 10 \uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d \u904e\u53bb\u306e\u8a18\u4e8b\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u304b\u3089\u3054\u53c2\u7167\u4e0b\u3055\u3044\u3002 \u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18\u307e\u3068\u3081 http://sites.google.com/site/gsfzero1/","author_url":"https://blog.hatena.ne.jp/gsf_zero1/","published":"2005-03-18 13:21:13","blog_url":"https://devlights.hatenablog.com/","provider_url":"https://hatena.blog"}