I have a small python snippet that calls a larger program (I did not write the larger one).
call(['function1', file1, file2, 'data.labels=abc, xyz'])
The above works.
input ='abc, xyz'
Now I want to input "abc, xyz" as a variable holding this value
call(['function1', file1, file2, 'data.labels=input'])
but it does not work.
How can I pass a variable value into variable data.labels within call subprocess.