<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atasatamatara</author_name>
  <author_url>https://blog.hatena.ne.jp/atasatamatara/</author_url>
  <blog_title>憧れ駆動開発</blog_title>
  <blog_url>https://atasatamatara.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>ある複数のidから特定のidの状態をファイルに保存する簡単なスクリプトだったのだが # coding=utf-8 import requests def main(): ids = range(1, 100) with open('hoge', 'w') as f: for id in ids: data = {} data['No'] = id r = requests.post(PATH, data) if r.json['moge'] == &quot;0&quot;: flg = u'ほげ' elif r.json['moge'] == &quot;1&quot;: flg = u'とげ' elif r.json['moge…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatasatamatara.hatenablog.jp%2Fentry%2F20120717%2F1342520526&quot; title=&quot;ユニコード文字列を含むファイルの読み書きにはcodecsを使う - 憧れ駆動開発&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>2012-07-17 19:22:06</published>
  <title>ユニコード文字列を含むファイルの読み書きにはcodecsを使う</title>
  <type>rich</type>
  <url>https://atasatamatara.hatenablog.jp/entry/20120717/1342520526</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
