title: Run function from the command line and pass arguments to function
body: <p>I'm using similar approach to call python function from my shell script:</p>
  
  <pre><code>python -c 'import foo; print foo.hello()'
  </code></pre>
  
  <p>But I don't know how in this case I can pass arguments to python script and also is it possible to call function with parameters from command line? </p>