<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>y_saiki</author_name>
  <author_url>https://blog.hatena.ne.jp/y_saiki/</author_url>
  <blog_title>Sassyブログ</blog_title>
  <blog_url>https://www.sassy-blog.com/</blog_url>
  <categories>
    <anon>IT・ソフトウェア</anon>
  </categories>
  <description>目次 目次 1.実行環境 2.Pythonでの継承について 3.親クラスを作成しよう 4.子クラスを作成しよう 5.継承させたクラスを使ってみよう 1.実行環境 Debian7.11 Python2.7 2.Pythonでの継承について Pythonでクラスを継承する場合は子クラスのクラス名の後に（）を用いてスーパークラスのクラス名を記述します。 そして、親クラスの機能を引き継ぐために子クラスのinitメソッド内で親クラスのinitを呼び出してselfを渡してあげます。 これでクラスの継承が可能になります。 それでは、具体的な記述内容に関しては以下のサンプルコードを見ていきましょう。 3.親ク…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sassy-blog.com%2Fentry%2F20171013%2F1507854766&quot; title=&quot;Python入門クラスを継承してみよう - Sassyブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/y/y_saiki/20171024/20171024233602.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-10-13 09:32:46</published>
  <title>Python入門クラスを継承してみよう</title>
  <type>rich</type>
  <url>https://www.sassy-blog.com/entry/20171013/1507854766</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
