以下の内容はhttps://mattintosh-note.jp/entry/2013/09/04/202836より取得しました。


Python で patch コマンド

ググってみたけどすぐ出てこなかったのでメモ。Python の機能にはないのかな?とりあえず subprocess で。そのうちマニュアル見てみよ。

from subprocess import check_call
check_call(["patch", "-Np1"], stdin=open("/tmp/patch.diff", "r"))




以上の内容はhttps://mattintosh-note.jp/entry/2013/09/04/202836より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14