<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>EngineerNoi</author_name>
  <author_url>https://blog.hatena.ne.jp/EngineerNoi/</author_url>
  <blog_title>ITエンジニア ノイのブログ</blog_title>
  <blog_url>https://engineernoi.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>こんにちは！ノイです。 機械学習をやっているとpythonでコードを書くことも多いですよね。 例外処理 例外処理を使用することで、プログラムの実行中にエラーが発生した場合に、プログラムを停止する代わりに、エラーを処理できます。つまりプログラムが継続して実行されるため、エラーに対処するために必要な修正を行うことができます。 Pythonでは、例外処理を実行するために、try-except文を使用します。 例外処理の基本的な構文 try: # プログラムの実行コード except ExceptionType: # 例外が発生した場合の処理 この構文では、tryブロックの中でプログラムを実行し、エラ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineernoi.hatenablog.com%2Fentry%2F2023%2F04%2F05%2F185539&quot; title=&quot;Pythonの例外処理 - ITエンジニア ノイのブログ&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://www24.a8.net/svt/bgt?aid=210603843248&amp;wid=001&amp;eno=01&amp;mid=s00000000018015072000&amp;mc=1</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-05 18:55:39</published>
  <title>Pythonの例外処理</title>
  <type>rich</type>
  <url>https://engineernoi.hatenablog.com/entry/2023/04/05/185539</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
