<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chyka</author_name>
  <author_url>https://blog.hatena.ne.jp/chyka/</author_url>
  <blog_title>Sing it out</blog_title>
  <blog_url>https://chyka.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>プラットフォームで処理を切り替えたいことがたまにある。 sysモジュールを使うと割と簡単にできる。 import sys # &quot;darwin&quot;, &quot;linux&quot;, &quot;win32&quot; or &quot;cygwin&quot; sys.platform # Pythonのパスを取得したい場合は sys.executable</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchyka.hatenablog.jp%2Fentry%2F2016%2F01%2F18%2F013822&quot; title=&quot;Pythonでプラットフォームごとに処理を切り替える - Sing it out&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>2016-01-18 01:38:22</published>
  <title>Pythonでプラットフォームごとに処理を切り替える</title>
  <type>rich</type>
  <url>https://chyka.hatenablog.jp/entry/2016/01/18/013822</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
