I have been given bash script that loops through a group of directories and asks for an input (y/n) for each directory.
I am using the Python subprocess module to run