python to shell script code example
Example 1: python run command
import os
os.system('cmd /k "Your Command Prompt Command"')
Example 2: call shell script from python
import subprocess
subprocess.call(["./shell.sh"])
# Make sure that "shell.sh" has "+x" permissions