<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thetama</author_name>
  <author_url>https://blog.hatena.ne.jp/thetama/</author_url>
  <blog_title>thetamaのなんか</blog_title>
  <blog_url>https://thetama.hatenadiary.org/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>test.pyでdata.txtのデータを読み込み，クラスへ渡すというのを考える．入力ファイル 10 20 5 40 を次のように実行する． $ python test.py data.txt test.pyは以下の通り． class hoge: def __init__(self,a,b): self.x=a self.y=b fuga=[] i=0 for line in open(sys.argv[1], 'r'): inputline=line.split(&quot; &quot;) data=[ int(list) for list in inputline] fuga.append(hoge(dat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthetama.hatenadiary.org%2Fentry%2F20090202%2F1233582601&quot; title=&quot;クラスとか読み込みとか - thetamaのなんか&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>2009-02-02 22:50:01</published>
  <title>クラスとか読み込みとか</title>
  <type>rich</type>
  <url>https://thetama.hatenadiary.org/entry/20090202/1233582601</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
