The Right Way to Run Shell Commands from Python
martinheinz.dev
martinheinz.dev
I've worked on a project recently, a rough prototype, that executes a vast amount of commands via subprocess[1]. I've been very happy with the results of subprocess.popen(). It works well on Linux, Macs, and windows with minimal tweaking.
Python developers and failing to adhere to this part of the Zen of Python. Name a more iconic duo.