which pythond does python shell use code example Example: shell command python import subprocess subprocess.run(["ls", "-l"])