{"author_name":"torajirousan","author_url":"https://blog.hatena.ne.jp/torajirousan/","provider_url":"https://hatena.blog","title":"class\u5185\u306edef\u306b\u3064\u3044\u3066","published":"2018-09-27 10:06:46","height":"190","categories":["python"],"url":"https://torajirousan.hatenadiary.jp/entry/2018/09/27/100646","blog_url":"https://torajirousan.hatenadiary.jp/","blog_title":"diadia","image_url":null,"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftorajirousan.hatenadiary.jp%2Fentry%2F2018%2F09%2F27%2F100646\" title=\"class\u5185\u306edef\u306b\u3064\u3044\u3066 - diadia\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u305d\u306e\u4ed6\u95a2\u9023\u8a18\u4e8bclass\u5185\u306edef\u306b\u3064\u3044\u3066python\u306b\u3064\u3044\u3066\u5168\u7136\u7406\u89e3\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u3002 \u95a2\u6570\uff1f\u30e1\u30bd\u30c3\u30c9\uff1f\u5168\u7136\u533a\u5225\u304c\u3064\u304b\u306a\u3044\u3068python\u3092\u59cb\u3081\u305f\u9803\u306f\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u3002 9. \u30af\u30e9\u30b9 \u2014 Python 3.6.5 \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 \u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066\u5c11\u3057\u3060\u3051\u308f\u304b\u3063\u305f\u306e\u3067\u8a18\u9332\u3059\u308b\u3002 class\u5185\u306bdef \u3067\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u3002 \u3053\u306e\u5834\u5408\u306edef\u306f\u30e1\u30bd\u30c3\u30c9\u3068\u8a00\u308f\u308c\u308b\u3002 \u30e1\u30c3\u30bd\u30c9\u306f\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u5bfe\u3057\u3066\u4f7f\u3046\u3002 class Hoge() def test1(self) return print(\"success\") def test1(self) \u3092\u4f7f\u3044\u65b9\u306f a= Hoge() \u3067\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u2026","version":"1.0","width":"100%","type":"rich"}