<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>true-fly</author_name>
  <author_url>https://blog.hatena.ne.jp/true-fly/</author_url>
  <blog_title>とりゅふの森</blog_title>
  <blog_url>https://www.true-fly.com/</blog_url>
  <categories>
    <anon>Python入門</anon>
    <anon>Python</anon>
  </categories>
  <description>こんにちは。今回はPythonの言語仕様的なお話です。 JavaやPHPに詳しいけど、Pythonはそこまで詳しくはないってエンジニアが、Pythonを書き始めるのって、そこまで苦ではないんですよね。かくゆう私も、最初はJavaやC#を学んで、この業界に入りました。 で、そんなJavaエンジニアだったり、新人の後輩によく聞かれていたのが、 「このソースの一番下にある…if __name__ == '__main__'ってなに？」 でした。そして僕はこう答えるのです。 「それはおまじないだよ、Javaでいうpublic void static main(String args[])だよ」 と流し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.true-fly.com%2Fentry%2F2021%2F05%2F21%2F180000&quot; title=&quot;【Python入門】if __name__ == &amp;#39;__main__&amp;#39;ってなに？ - とりゅふの森&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/t/true-fly/20210727/20210727234443.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-21 18:00:00</published>
  <title>【Python入門】if __name__ == '__main__'ってなに？</title>
  <type>rich</type>
  <url>https://www.true-fly.com/entry/2021/05/21/180000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
