{"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineer-blog.toggle.co.jp%2Fentry%2F2024%2F12%2F11%2F094034\" title=\"Python \u5165\u9580 - metaclass \u306b\u3064\u3044\u3066 - toggle Engineer Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://engineer-blog.toggle.co.jp/entry/2024/12/11/094034","height":"190","published":"2024-12-11 09:40:34","width":"100%","blog_url":"https://engineer-blog.toggle.co.jp/","title":"Python \u5165\u9580 - metaclass \u306b\u3064\u3044\u3066","image_url":null,"type":"rich","author_name":"toggle-engineer","blog_title":"toggle Engineer Blog","author_url":"https://blog.hatena.ne.jp/toggle-engineer/","version":"1.0","description":"\u3053\u3093\u306b\u3061\u306f\u3002\u30c8\u30b0\u30eb\u30db\u30fc\u30eb\u30c7\u30a3\u30f3\u30b0\u30b9\u3001AI\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u9cf3\u51f0\u9662\u305d\u3089\u3067\u3059\u3002\u203b\u30cf\u30f3\u30c9\u30eb\u30cd\u30fc\u30e0\u3067\u3059 \u30c8\u30b0\u30eb\u30db\u30fc\u30eb\u30c7\u30a3\u30f3\u30b0\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30a2\u30c9\u30d9\u30f3\u30c8\u30ab\u30ec\u30f3\u30c0\u30fc\u306e11\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\uff01 Type \u306e\u6df1\u5800 \u307e\u305a python \u306e\u57fa\u672c\u7684\u306a type \u3092\u547c\u3073\u8d77\u3053\u3059\u305f\u3081\uff0c\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u8003\u3048\u308b\uff0e print(f\"{type(0)=}\") print(f\"{type(1.)=}\") print(f\"{type('2')=}\") print(f\"{type((3, '4'))=}\") \u51fa\u529b\u306f\u5927\u4f53\u4e88\u60f3\u3067\u304d\u308b\u3068\u601d\u3046\u304c\uff0c\u6b21\u306e\u901a\u308a\u306b\u306a\u308b\uff0e type(0)=<class 'int'> type(1.)=<class 'float'> ty\u2026"}