I am trying to write a script in python to start an .exe and continuously interact with it. for example: My .exe file is a calculator (calc.exe) with options 1.add 2.sub 3.multiple 4.division.
i am able to start the .exe file , but i don't know how to pass the option numbers(or variables) to it. Can anyone help ? Thanks in Advance.