日常的なPC操作の中で、「新しいフォルダを作成する」「特定のファイル一覧を取得する」「外部のプログラムを起動する」といった作業を、コマンドプロンプトやターミナルで行うことはありませんか? これらの操作を一つひとつ手作業で行うのは限界が ...
ターミナルでpython -V って打つとバージョンわかる。pyenvはまた別のお話。 モチベーション 作ってみたかったので作りました。 今回は、デスクトップに置いたこのファイルをダブルクリックしたらSlackが起動するものを作ります。 Slackをそのまま起動すれば ...
Learn how to automate your Git workflow and environment variables into a single, error-proof command that handles the boring ...
In its present form, the subprocess.Popen implementation is prone to dead-locking and blocking of the parent Python script while waiting on data from the child process. This PEP proposes to make ...
Think it's complex to connect your Python program to the UNIX shell? Think again! In past articles, I've looked into concurrency in Python via threads (see "Thinking Concurrently: How Modern Network ...