<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>plarail_hangout</author_name>
  <author_url>https://blog.hatena.ne.jp/plarail_hangout/</author_url>
  <blog_title>Engineering Tech Dojo</blog_title>
  <blog_url>https://tech.fun-toy-life.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>バージョン確認</anon>
  </categories>
  <description>Pythonのバージョン確認方法まとめ：コマンドからコード内まで はじめに Pythonを使っていると、バージョンを確認したい場面が頻繁にあります。 新しいPCで環境を構築したとき エラーが出てバージョンが原因か調べたいとき スクリプト内でバージョンによって処理を分けたいとき この記事ではターミナルコマンドからPythonコード内まで、バージョン確認の方法をまとめて解説します。 ターミナルで確認する 基本コマンド python3 --version Python 3.13.2 -V でも同じ結果が得られます。 python3 -V macOSやLinuxでは python3 コマンドを使うのが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.fun-toy-life.com%2Fentry%2F2026%2F05%2F19%2F201431&quot; title=&quot;Pythonのバージョン確認方法まとめ：コマンドからコード内まで - Engineering Tech Dojo&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>2026-05-19 20:14:31</published>
  <title>Pythonのバージョン確認方法まとめ：コマンドからコード内まで</title>
  <type>rich</type>
  <url>https://tech.fun-toy-life.com/entry/2026/05/19/201431</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
