I have a python program that prompts for user input (via CLI) multiple times.
Just for example, let's say I have a test.py file that prompts for input1, and then, some time after, input2:
...
...
input1 = input("Enter input 1")
...
...
input2 = input("Enter input 2")
...
...
How do I go about writing a bash script that runs this program, waits for and then gives the argument for input1, and then waits again for input2 and gives its argument?
If you can point me in the right direction it would be great; everything I found online was about multiple inputs for the actual bash script, or about multiple arguments (as a single input). I am not experienced with bash scripting as well, so I apologize in advance if my lack of experience was the reason why I couldn't find the right resources.