UNIX -Befehl im Python -Skript
from subprocess import call
call('echo "I like potatos"', shell=True)
call('pwd', shell=True)
AMi
from subprocess import call
call('echo "I like potatos"', shell=True)
call('pwd', shell=True)
import shlex
tokens = ["echo", "-n", "Python is awesome"]
shlex.join(tokens)
# "echo -n 'Python is awesome'"