CMD /K - execute a command then remain  import os os.system('cmd /k "Your Command Prompt Command"') 

Read more of this post