r/pythonhelp • u/Muskratbest2 • Jan 14 '22
Script that Automatically provides input() in terminal.
File A is designed to automate a process and has a for loop that calls file B.
File B has an input() function, and when it it called it halts the for loop until a user input is provided.
Is there a way where I can automatically fill the input within the terminal?
(Note: I am unable to alter file B)
3
Upvotes
1
u/Muskratbest2 Jan 14 '22
My apologies, did this fix the formatting?