<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kamekokamekame</author_name>
  <author_url>https://blog.hatena.ne.jp/kamekokamekame/</author_url>
  <blog_title>Python学習チャンネル by PyQ</blog_title>
  <blog_url>https://blog.pyq.jp/</blog_url>
  <categories>
    <anon>Pythonお悩み解決</anon>
    <anon>Pythonお悩み解決-Python文法</anon>
  </categories>
  <description>こんにちは、PyQサポートです。 今日は、辞書の get メソッドを紹介します。 質問 回答 指定したキーがない場合 質問 「name = employees.get(employee_id)」の「employees.get」について、この.getはどのような処理をするものなのでしょうか？ 回答 辞書.get(キー) と get メソッドにキーを指定すると、キーと紐づく辞書の値を返します。 得られる結果は、 辞書[キー] と書いて値を取り出すのと同じですが、 指定したキーが辞書に含まれない場合の動きが異なります。 指定したキーがない場合 辞書[キー] → エラー発生 辞書.get(キー) → …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.pyq.jp%2Fentry%2FPython_kaiketsu_190709&quot; title=&quot;辞書.getはどのような処理をするものなのでしょうか？という質問に回答しながら辞書.getについて解説します - Python学習チャンネル by PyQ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/konie_ko/20190701/20190701104205.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-09 12:17:00</published>
  <title>辞書.getはどのような処理をするものなのでしょうか？という質問に回答しながら辞書.getについて解説します</title>
  <type>rich</type>
  <url>https://blog.pyq.jp/entry/Python_kaiketsu_190709</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
