python 3.7 run shell command code example Example: python run command import os os.system('cmd /k "Your Command Prompt Command"')