<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>monajiro</author_name>
  <author_url>https://blog.hatena.ne.jp/monajiro/</author_url>
  <blog_title>日記</blog_title>
  <blog_url>https://tnamao.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Tips</anon>
  </categories>
  <description>色々と難しい方向に探してしまったのでメモメモ。 setattr(target_instance, 'property_name', property_value)まさか組み込み関数にあると思わなかった。リフレクションでクラスインスタンスを作る場合は classname = &quot;C&quot; clazz = globals()[classname] obj = clazz() imethod = getattr(obj, 'imeth') cmethod = getattr(clazz, 'cmeth') smethod = getattr(clazz, 'smeth') imethod(&quot;iglobal…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnamao.hatenablog.com%2Fentry%2F20100622%2F1277203672&quot; title=&quot; 辞書型のキーと値をクラスのプロパティに設定する - 日記&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>2010-06-22 19:47:52</published>
  <title> 辞書型のキーと値をクラスのプロパティに設定する</title>
  <type>rich</type>
  <url>https://tnamao.hatenablog.com/entry/20100622/1277203672</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
