I am trying to use Python to select a variable from a list, then speak it outloud using the bash command. Right now I have something like this
foo = [\"a\",\"b\"
You can use format:
system('say {}'.format(x))