calling a shell script in python and checking executions is completed or not code example
Example: python run command
import os
os.system('cmd /k "Your Command Prompt Command"')
import os
os.system('cmd /k "Your Command Prompt Command"')