import os os.system('cmd /k "Your Command Prompt Command"')
import subprocess subprocess.call(["./shell.sh"]) # Make sure that "shell.sh" has "+x" permissions