<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>auewe</author_name>
  <author_url>https://blog.hatena.ne.jp/auewe/</author_url>
  <blog_title>余白の書きなぐり</blog_title>
  <blog_url>https://auewe.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>シェルスクリプト</anon>
  </categories>
  <description>環境変数の取得 # Python import os home = os.environ.get('HOME', &quot;&quot;) カレントディレクトリのパスを取得 # Bash ... もともと $PWDに入っているが current_path=`pwd` # Python import os current_path = os.getcwd() # スクリプトのあるディレクトリの絶対パスは script_path = os.path.abspath(os.path.dirname(__file__)) ファイル名とディレクトリ名の結合 シェルスクリプトではファイルやディレクトリを文字列として扱い、 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fauewe.hatenablog.com%2Fentry%2F2013%2F10%2F16%2F095026&quot; title=&quot;シェルスクリプトからPython3に移行する人のために ～標準入出力・ファイル管理編～ - 余白の書きなぐり&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>2013-10-16 09:50:26</published>
  <title>シェルスクリプトからPython3に移行する人のために ～標準入出力・ファイル管理編～</title>
  <type>rich</type>
  <url>https://auewe.hatenablog.com/entry/2013/10/16/095026</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
