How to control the Console with a script?

Hello.

We have a packaged aplication that we can change some details (resolution, frame rate) with Console commands.

I would like to have a script - python would be good - that could send different commands.

Right now with python I have this

os.chdir('C:\\PATH\\WindowsNoEditor')
print (sp.Popen(["MVP1_Footage.exe"]))