<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuheiomori0718</author_name>
  <author_url>https://blog.hatena.ne.jp/yuheiomori0718/</author_url>
  <blog_title>メモ置き場</blog_title>
  <blog_url>https://y0m0r.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>d = {&quot;a&quot;: 1, &quot;b&quot;: 2, &quot;c&quot;: 3} print {k: d[k] for k in ('a', 'b', 'd') if k in d} # {'a': 1, 'b': 2} print d # {'a': 1, 'c': 3, 'b': 2} 参考 : best way to extract subset of key-value pairs from python dictionary object - Stack Overflow</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20130501%2F1367422384&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>2013-05-01 00:33:04</published>
  <title>辞書のサブセットを取得する</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20130501/1367422384</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
