{"id":1043,"date":"2018-08-28T09:14:01","date_gmt":"2018-08-28T00:14:01","guid":{"rendered":"https:\/\/python-introduction.com\/?p=1043"},"modified":"2018-08-28T09:14:01","modified_gmt":"2018-08-28T00:14:01","slug":"%e3%80%90python%e3%80%91%e3%82%af%e3%83%a9%e3%82%b9%e5%a4%89%e6%95%b0%e3%81%a8%e3%82%af%e3%83%a9%e3%82%b9%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%81%ae%e9%81%95%e3%81%84","status":"publish","type":"post","link":"https:\/\/python-introduction.com\/?p=1043","title":{"rendered":"\u3010Python\u3011\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306e\u9055\u3044"},"content":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30af\u30e9\u30b9\u5909\u6570\u3068\u306f\u4f55\u304b\u3001<br \/>\n\u305d\u308c\u304b\u3089\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3068\u306f\u4f55\u304b\u3001<br \/>\n\u306b\u3064\u3044\u3066\u4f8b\u984c\u3092\u6319\u3052\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u3042\u3068\u3001\u7d50\u5c40\u306e\u3068\u3053\u308d<br \/>\n\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3063\u3066\u4f55\u304c\u9055\u3046\u306e\u304b<br \/>\n\u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u30af\u30e9\u30b9\u306e\u6982\u5ff5\u306b\u3064\u3044\u3066\u306f<br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306e\u3068\u3053\u308d\u3067<br \/>\n\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067<br \/>\n\u6c17\u306b\u306a\u308b\u65b9\u306f\u5148\u306b\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=1017\" target=\"blank\">\u3010Python\u5165\u9580\u3011\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u3068\u306f\uff1f\u4f8b\u984c\u3092\u6319\u3052\u306a\u304c\u3089\u89e3\u8aac<\/a><\/p>\n<p>\u305d\u308c\u3067\u306f\u672c\u984c\u306b\u5165\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">\u76ee\u6b21<\/p><ul class=\"toc_list\"><li><a href=\"#Python\"><span class=\"toc_number toc_depth_1\">1<\/span> \u3010Python\u3011\u30af\u30e9\u30b9\u5909\u6570\u3068\u306f\uff1f<\/a><\/li><li><a href=\"#Python-2\"><span class=\"toc_number toc_depth_1\">2<\/span> \u3010Python\u3011\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3068\u306f\uff1f<\/a><\/li><li><a href=\"#Python-3\"><span class=\"toc_number toc_depth_1\">3<\/span> \u3010Python\u3011\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306e\u9055\u3044\u306f\uff1f<\/a><\/li><\/ul><\/div>\n<h2><span id=\"Python\">\u3010Python\u3011\u30af\u30e9\u30b9\u5909\u6570\u3068\u306f\uff1f<\/span><\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/pcjoseisan826.jpg\" alt=\"\u30af\u30e9\u30b9\u5909\u6570\u3068\u306f\" width=\"620\" height=\"414\" class=\"alignnone size-full wp-image-1045\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/pcjoseisan826.jpg 620w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/pcjoseisan826-300x200.jpg 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/p>\n<p>\u30af\u30e9\u30b9\u5909\u6570\u3068\u306f\u30af\u30e9\u30b9\u306e\u4e2d\u3067\u4f7f\u3046\u5909\u6570\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u300c\u5909\u6570\u3063\u3066\u4f55\uff1f\u300d<br \/>\n\u3068\u7591\u554f\u306b\u611f\u3058\u3066\u3057\u307e\u3046\u65b9\u306f<br \/>\n\u5148\u306b\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=145\" target=\"blank\">Python\u306e\u5909\u6570\u5ba3\u8a00\u3067\u6ce8\u610f\u3059\u3079\u304d\u3053\u3068<\/a><br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=416\" target=\"blank\">\u3010Python\u5165\u9580\u3011\u5909\u6570\u306e\u4ee3\u5165\u306b\u3064\u3044\u3066\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac<\/a><\/p>\n<p>\u3067\u306f\u4f8b\u984c1\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">#\u4f8b\u984c1 \u30af\u30e9\u30b9\u5909\u6570\r\n\r\nclass Animal: #\u3053\u3053\u306f\u30af\u30e9\u30b9\r\n   bird = &quot;Bird&quot; #\u3053\u3053\u306f\u30af\u30e9\u30b9\u5909\u6570\r\n   dog = 'Dog' #\u3053\u3053\u3082\u30af\u30e9\u30b9\u5909\u6570\r\n\r\nprint(Animal.bird) \r\n\r\nAnimal.bird = '\u9ce5' #\u3053\u3053\u3067\u30af\u30e9\u30b9\u5909\u6570\u306e\u5024\u3092\u5909\u66f4\u3057\u3066\u3044\u308b\r\nprint(Animal.bird)<\/pre>\n<p>\u4f8b\u984c1\u3092\u8a73\u3057\u304f\u307f\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">class Animal: #\u3053\u3053\u306f\u30af\u30e9\u30b9\r\n   bird = &quot;Bird&quot; #\u3053\u3053\u306f\u30af\u30e9\u30b9\u5909\u6570\r\n   dog = 'Dog' #\u3053\u3053\u3082\u30af\u30e9\u30b9\u5909\u6570<\/pre>\n<p>Animal\u3068\u3044\u3046\u30af\u30e9\u30b9\u306e\u4e2d\u3067<br \/>\n\u5909\u6570bird\u3001\u5909\u6570dog\u3068\u3044\u30462\u3064\u306e\u5909\u6570\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Bird\u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u5909\u6570bird\u306b\u4ee3\u5165\u3057<br \/>\nDog\u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u5909\u6570dog\u306b\u4ee3\u5165\u3057\u307e\u3059\u3002<\/p>\n<p>\u5909\u6570\u306e\u4ee3\u5165\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u21d2<a href=\"https:\/\/python-introduction.com\/?p=416\" target=\"blank\">\u3010Python\u5165\u9580\u3011\u5909\u6570\u306e\u4ee3\u5165\u306b\u3064\u3044\u3066\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac<\/a><\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067Animal\u3068\u3044\u3046\u30af\u30e9\u30b9\u306e\u4e2d\u3067\u5b9a\u7fa9\u3055\u308c\u305f<br \/>\n\u5909\u6570bird\u3084\u5909\u6570dog\u306e\u3053\u3068\u3092\u30af\u30e9\u30b9\u5909\u6570\u3068\u3044\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u307e\u307e\u3067\u3059\u306d\u3002<\/p>\n<p>\u300e\u30af\u30e9\u30b9\u306e\u4e2d\u306e\u5909\u6570\uff1d\u30af\u30e9\u30b9\u5909\u6570\u300f<br \/>\n\u3067\u3059\u304b\u3089\u306d\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">class \u30af\u30e9\u30b9\u540d: #\u3053\u3053\u306f\u30af\u30e9\u30b9\r\n   \u5909\u6570\u540d\uff08\u30af\u30e9\u30b9\u5909\u6570\uff09 = \u5909\u6570\u306b\u4ee3\u5165\u3057\u305f\u3044\u6587\u5b57\u5217\u3084\u6570 #\u3053\u3053\u306f\u30af\u30e9\u30b9\u5909\u6570<\/pre>\n<p>\u3068\u3059\u308b\u3053\u3068\u3067\u3001\u30af\u30e9\u30b9\u5909\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u308f\u3051\u3067\u3059\u306d\u3002<\/p>\n<p>\u3068\u3053\u308d\u3067\u30af\u30e9\u30b9\u5909\u6570\u306f\u30af\u30e9\u30b9\u540d\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">print(Animal.bird) <\/pre>\n<p>\u3053\u3053\u3067\u306f\u30af\u30e9\u30b9\u5909\u6570bird\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b<br \/>\n\u30af\u30e9\u30b9\u540dAnimal\u306e\u5f8c\u306b\u3001\u30c9\u30c3\u30c8\uff08.)\u3092\u3064\u3051\u3066bird\u3068\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>bird\u306e\u5024\u3092print\u3057\u305f\u5f8c\u306b\u3001<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">Animal.bird = '\u9ce5' #\u3053\u3053\u3067\u30af\u30e9\u30b9\u5909\u6570\u306e\u5024\u3092\u5909\u66f4\u3057\u3066\u3044\u308b<\/pre>\n<p>\u5909\u6570bird\u306b\u300e\u9ce5\u300f\u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u4ee3\u5165\u3055\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067<span class=\"redb18\">\u30af\u30e9\u30b9\u5909\u6570\u306e\u5024\u3063\u3066\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/span>\u3093\u3067\u3059\u3002<br \/>\n\u3053\u3053\u306f\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3068\u30af\u30e9\u30b9\u5909\u6570\u306e\u9055\u3044\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u7d9a\u3044\u3066<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">print(Animal.bird)<\/pre>\n<p>\u30af\u30e9\u30b9\u5909\u6570\u306e\u5024\u3092\u300e\u9ce5\u300f\u306b\u5909\u66f4\u3057\u305f\u5f8c\u306b<br \/>\nprint\u6587\u3067\u8868\u793a\u3055\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u984c1\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Bird<br \/>\n\u9ce5<br \/>\n\u3068\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/classhensu826.jpg\" alt=\"\u30af\u30e9\u30b9\u5909\u6570\" width=\"399\" height=\"233\" class=\"alignnone size-full wp-image-1050\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/classhensu826.jpg 399w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/classhensu826-300x175.jpg 300w\" sizes=\"(max-width: 399px) 100vw, 399px\" \/><\/p>\n<p>\u4f8b\u984c1\u306e\u30dd\u30a4\u30f3\u30c8\u306f\u30af\u30e9\u30b9\u5909\u6570\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066<br \/>\n\u30af\u30e9\u30b9\u5909\u6570\u306e\u5024\u3092\u5909\u66f4\u3067\u304d\u305f\u70b9\u3067\u3059\u3002<\/p>\n<h2><span id=\"Python-2\">\u3010Python\u3011\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3068\u306f\uff1f<\/span><\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/pscokom819.jpg\" alt=\"\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3068\u306f\" width=\"620\" height=\"414\" class=\"alignnone size-full wp-image-826\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/pscokom819.jpg 620w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/pscokom819-300x200.jpg 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/p>\n<p>\u7d9a\u3044\u3066\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u306d\u3002<br \/>\n\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3068\u306f\u30af\u30e9\u30b9\u540d\u3092\u4f7f\u3063\u3066\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u30e1\u30bd\u30c3\u30c9\u306e\u3053\u3068\u3092\u3044\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u969b\u306e\u30eb\u30fc\u30eb\u3067\u3059\u304c\u3002<br \/>\n\u5fc5\u305a\u30e1\u30bd\u30c3\u30c9\u540d\u306e\u524d\u306b\u300e@classmethod\u300f\u3068\u8a18\u8f09\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>@\uff08\u30a2\u30c3\u30c8\u30de\u30fc\u30af\uff09\u304c\u3064\u3044\u3066\u3044\u307e\u3059\u306d\u3002<br \/>\n\u305f\u3068\u3048\u3070aaa@yahoo.co.jp<br \/>\n\u307f\u305f\u3044\u306a\u611f\u3058\u3067\u30e1\u30fc\u30eb\u3068\u95a2\u4fc2\u3057\u3066\u305d\u3046\u306a\u6c17\u304c\u3059\u308b\u65b9\u3082\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\u5225\u306b\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u3092\u958b\u304b\u305b\u308b\u3088\u3046\u306a\u3082\u306e\u3067\u306f\u306a\u3044\u3067\u3059\u3088\uff08\u82e6\u7b11\uff09<\/p>\n<p>\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u4f8b\u984c2\u3092<br \/>\n\u3084\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">#\u4f8b\u984c2 \u30af\u30e9\u30b9\u5909\u6570\r\n\r\nclass Boxing: #\u3053\u3053\u306f\u30af\u30e9\u30b9\r\n    nara = &quot;Nara&quot; \r\n    hantei = 'Hantei' #\u3053\u3053\u307e\u3067\u306f\u4f8b\u984c1\u3068\u540c\u3058\r\n    \r\n    @classmethod\r\n    def Aaa(cls):\r\n        print(cls.nara, cls.hantei)\r\n        \r\nBoxing.Aaa()<\/pre>\n<p>\u4f8b\u984c2\u3067\u306f<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">class Boxing: #\u3053\u3053\u306f\u30af\u30e9\u30b9\r\n    nara = &quot;Nara&quot; \r\n    hantei = 'Hantei' #\u3053\u3053\u307e\u3067\u306f\u4f8b\u984c1\u3068\u540c\u3058<\/pre>\n<p>\u3068\u306a\u3063\u3066\u3044\u3066\u3001Boxing\u30af\u30e9\u30b9\u306b<br \/>\nnara\u3068hantei\u3068\u3044\u3046\u5909\u6570\u304c\u5c5e\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\nnara\u3068hantei\u306f\u30af\u30e9\u30b9\u5909\u6570\u3067\u3059\u306d\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u306f\u4f8b\u984c1\u3068\u540c\u3058\u3053\u3068\u3092\u3084\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3067\u3001\u3053\u3053\u304b\u3089\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">    @classmethod\r\n    def Aaa(cls):\r\n        print(cls.nara, cls.hantei)<\/pre>\n<p>\u3068\u3042\u308a\u307e\u3059\u306d\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">@classmethod<\/pre>\n<p>\u304c\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">@classmethod<\/pre>\n<p>\u304c\u3042\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u3042\u3068\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u306a\u308b\u3093\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u304c\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">    def Aaa(cls):<\/pre>\n<p>\u3053\u306e\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306fcls\u3092\u5f15\u6570\u3068\u3057\u3066\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002<br \/>\n\u3061\u306a\u307f\u306bcls\u306f\u30af\u30e9\u30b9\u305d\u306e\u3082\u306e\u3092\u610f\u5473\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u306a\u306e\u3067\u3001cls\u3068\u3044\u3046\u6587\u5b57\u3092\u3044\u3058\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u308c\u304b\u3089<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">        print(cls.nara, cls.hantei)<\/pre>\n<p>cls\u306b\u3088\u3063\u3066\u3001\u30af\u30e9\u30b9\u5909\u6570\u3067\u3042\u308bnara\u3084hantei\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3042\u3068<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">Boxing.Aaa()<\/pre>\n<p>\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3068\u304d\u306b\u306f\u30af\u30e9\u30b9\u540d\uff08Boxing\uff09\u304b\u3089<br \/>\n\u76f4\u63a5\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u304c\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u3059\u308b\u3068<br \/>\nNara Hantei<br \/>\n\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/narahanteii827.jpg\" alt=\"\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\" width=\"399\" height=\"233\" class=\"alignnone size-full wp-image-1053\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/narahanteii827.jpg 399w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/narahanteii827-300x175.jpg 300w\" sizes=\"(max-width: 399px) 100vw, 399px\" \/><\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3073\u51fa\u3055\u308c\u3066<br \/>\n\u30af\u30e9\u30b9\u5909\u6570\u306b\u4ee3\u5165\u3055\u308c\u305f\u6587\u5b57\u5217\uff08Nara Hantei\uff09\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<h2><span id=\"Python-3\">\u3010Python\u3011\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306e\u9055\u3044\u306f\uff1f<\/span><\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/sensei12221.jpg\" alt=\"\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306e\u9055\u3044\" width=\"620\" height=\"414\" class=\"alignnone size-full wp-image-927\" srcset=\"https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/sensei12221.jpg 620w, https:\/\/python-introduction.com\/wp-content\/uploads\/2018\/08\/sensei12221-300x200.jpg 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/p>\n<p>\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306e\u9055\u3044\u306b\u3064\u3044\u3066\u3002<br \/>\n\u30af\u30e9\u30b9\u5909\u6570\u306f\u30af\u30e9\u30b9\u5185\u3067\u5b9a\u7fa9\u3055\u308c\u305f\u5909\u6570\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30b9\u5909\u6570\u306e\u5024\u306f\u5f8c\u3067\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u307e\u305f\u30af\u30e9\u30b9\u4e8b\u614b\u3067\u30af\u30e9\u30b9\u5909\u6570\u306e\u5024\u306f\u4fdd\u6301\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u304b\u3089\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306f@classmethod\u3068\u8a18\u8ff0\u3057\u305f\u5f8c\u306b<br \/>\n\u8a18\u8f09\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>cls\u3068\u3044\u3046\u5f15\u6570\u3092\u4f7f\u3046\u3053\u3068\u3067\u30af\u30e9\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306f\u5b9a\u7fa9\u306e\u4ed5\u65b9\u3084<br \/>\n\u4f7f\u3044\u65b9\u304c\u9055\u3044\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u4f8b\u984c2\u306e\u3088\u3046\u306b\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306f<br \/>\n\u5171\u5b58\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3067\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066\u306e\u89e3\u8aac\u3092\u7d42\u308f\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30af\u30e9\u30b9\u5909\u6570\u3068\u306f\u4f55\u304b\u3001 \u305d\u308c\u304b\u3089\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3068\u306f\u4f55\u304b\u3001 \u306b\u3064\u3044\u3066\u4f8b\u984c\u3092\u6319\u3052\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002 \u305d\u306e\u3042\u3068\u3001\u7d50\u5c40\u306e\u3068\u3053\u308d \u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3063\u3066\u4f55\u304c\u9055\u3046\u306e\u304b \u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u3061\u306a\u307f\u306b\u30af\u30e9\u30b9\u306e\u6982\u5ff5 [&hellip;]","protected":false},"author":1,"featured_media":1044,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,95],"tags":[3,97,96,98],"_links":{"self":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts\/1043"}],"collection":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1043"}],"version-history":[{"count":7,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts\/1043\/revisions"}],"predecessor-version":[{"id":1054,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/posts\/1043\/revisions\/1054"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=\/wp\/v2\/media\/1044"}],"wp:attachment":[{"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/python-introduction.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}