Bash Script Loop Through Array Of Strings Python