For example, the shell script takes an integer at a prompt and returns it.
Enter an integer:
--> 3
3
I'm using subprocess.check_call(["./myScript"]) to run the shell script. How can I automate sending the "3" in as in the example above? So far all my searching has only recovered how to run a script with command line arguments, not this kind of manual input.
input(),raw_input()ect.? And what Python version do you have?