<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fgshun</author_name>
  <author_url>https://blog.hatena.ne.jp/fgshun/</author_url>
  <blog_title>銀月の符号</blog_title>
  <blog_url>https://fgshun.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>PythonRecipe に久しぶりに書き込みしてきた。「214:Windowsレジストリにアクセスする」というネタ。_winreg モジュールの EnumValue の使いにくさはガチ。Value ってもろ単数形…。持っている値を列挙するのが役目なのに、名前のとおり値を１つずつしか得られない。なので、レジストリを読むときには import _winreg def enum_values(key): u&quot;&quot;&quot;_winreg.EnumValue(key, index) を for 文で使える形に &quot;&quot;&quot; try: i = 0 while True: yield _winreg.EnumValue…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffgshun.hatenablog.com%2Fentry%2F20090110%2F1231557171&quot; title=&quot; Python で Windows のレジストリ操作 - 銀月の符号&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-01-10 12:12:51</published>
  <title> Python で Windows のレジストリ操作</title>
  <type>rich</type>
  <url>https://fgshun.hatenablog.com/entry/20090110/1231557171</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
