<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>概要 滅多に使わないのですが、たまーに使いたいシーンが出てきたりするのが動的にクラス定義するやり方。 よく忘れるので自分用にメモです。 環境 $ sw_vers ProductName: Mac OS X ProductVersion: 10.14.4 BuildVersion: 18E226 $ python --version Python 3.7.2 Python では 「全てがオブジェクト」 よく言われるこの言葉ですが、Python の場合はクラス定義することもオブジェクトを作ることと同じことになります。 なんのオブジェクトかっていうと、 type クラスのインスタンスとなります。 実…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2019%2F05%2F26%2F014741&quot; title=&quot;Pythonメモ-105 (動的にクラスを定義)(type(), types.new_class()) - いろいろ備忘録日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-26 01:47:41</published>
  <title>Pythonメモ-105 (動的にクラスを定義)(type(), types.new_class())</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/2019/05/26/014741</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
