title: find file with variable name in python script
body: <p>I am trying to execute the find command in a python script, using a for loop to pass a variable index determining the specific file name to find. I am using the following syntax, which in python returns an empty set, however works in the terminal:</p>
  
  <pre><code>for j in [1,2,3,5]:  
      file_name = cmd.getoutput('find . -type f -name "*${j}-xyz.stc" -printf "%f\n"')
  </code></pre>
  
  <p>Obviously, the variable is not being passed to the find expression in my python code, but how can I remedy that? Any suggestions are appreciated.</p>