自分は最近PowerPointを操作するアプリを作った際に、 PowerPointの操作はC#プログラムで、 PowerPoint操作以外の部分はPythonで という感じでアプリを作った際にsubprocessを使いました。 Pythonでsubprocessを使って、C#で作ったプログラム.exeに対してコマンドライン引数 ...
チェーンされているSSL証明書の一覧を出力するスクリプトを実装していたときに学んだことのまとめ。 特定の文字列に囲まれた文字列をすべて抽出する 正規表現を使って抽出する regex = r"任意の文字列1[\s\S]*?任意の文字列2" [\s\S] : すべての文字にマッチする。
The problem I am facing is that I have a subprocess in python (ffmpeg process) that runs for hours or even days from which I'd like to capture the output. The subprocess its stdout/err.PIPE can easily ...
If you are a Python programmer, it is quite likely that you have experience in shell scripting. It is not uncommon to face a task that seems trivial to solve with a shell command. Therefore, it is ...
As easy a language as Python is, it isn’t immune to bugs and glitches from time to time, not to mention simple mistakes that beginners often make when writing ...