title: passing an argument to a python function from bash
body: <p>I am trying below commands</p>
  
  <pre><code> python -c 'import sample; sample.Functionname()'
   python -c 'import sample; sample.printFxn("helloWorld")'
  </code></pre>
  
  <p>Both of these work well but when I pass a variable as an argument, I get the following error.</p>
  
  <pre><code> File "&lt;string&gt;", line 1 import sample; sample.printFxn($filename) SyntaxError: invalid syntax
  </code></pre>
  
  <p>What is the proper way to pass a variable as an argument to a python function from bash?</p>