If you just want to do some simple task, this would do:
from subprocess import call cmd = "mkdir -p tmp/some/dir" call(cmd, shell=True)
If you just want to do some simple task, this would do:
from subprocess import call cmd = "mkdir -p tmp/some/dir" call(cmd, shell=True)