<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sippu</author_name>
  <author_url>https://blog.hatena.ne.jp/sippu/</author_url>
  <blog_title>Mattari Diary</blog_title>
  <blog_url>https://sippu.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>study</anon>
  </categories>
  <description>いろんな機能をまとめたクラスが複数入っていてるモジュール、というかpyファイルから、そのクラス一覧を取得したい時にどうすれば調べていたらなんとか見つかったのでメモ。 まんまここから inspect – Inspect live objects - Python Module of the Weekあるモジュールの中にある（ファイルで書かれている）クラスを取得するときに、inspectモジュールを使うといいそうです。 モジュールをインポートして、 inspect.getmembers(モジュール名とかオブジェクト名) #__buildin__も出てきて焦る でモジュール内のメンバ名と値（オブジェ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsippu.hatenadiary.org%2Fentry%2F20100816%2F1281970497&quot; title=&quot;inspectモジュールを使って、モジュール内のクラス一覧を得る - Mattari Diary&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-08-16 23:54:57</published>
  <title>inspectモジュールを使って、モジュール内のクラス一覧を得る</title>
  <type>rich</type>
  <url>https://sippu.hatenadiary.org/entry/20100816/1281970497</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
