python上でunixコマンドを実行する。

python上でunixコマンドを実行する。

import subprocess
subprocess.run('ls')