<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mattintosh4</author_name>
  <author_url>https://blog.hatena.ne.jp/mattintosh4/</author_url>
  <blog_title>mattintosh note</blog_title>
  <blog_url>https://mattintosh-note.jp/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>ググってみたけどすぐ出てこなかったのでメモ。Python の機能にはないのかな？とりあえず subprocess で。そのうちマニュアル見てみよ。 from subprocess import check_call check_call([&quot;patch&quot;, &quot;-Np1&quot;], stdin=open(&quot;/tmp/patch.diff&quot;, &quot;r&quot;)) Pythonスタートブック作者: 辻真吾出版社/メーカー: 技術評論社発売日: 2010/04/24メディア: 大型本購入: 19人 クリック: 199回この商品を含むブログ (33件) を見る パーフェクトPython (PERFECT SERIES…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmattintosh-note.jp%2Fentry%2F2013%2F09%2F04%2F202836&quot; title=&quot;Python で patch コマンド - mattintosh note&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>http://ecx.images-amazon.com/images/I/51KkpibMKqL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-09-04 20:28:36</published>
  <title>Python で patch コマンド</title>
  <type>rich</type>
  <url>https://mattintosh-note.jp/entry/2013/09/04/202836</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
