title: How to call python functions when running from terminal
body: <p>Say i have code that does something complicated and prints the result, but for the purposes of this post say it just does this:</p>
  
  <pre><code>class tagFinder:
      def descendants(context, tag):
          print context
          print tag
  </code></pre>
  
  <p>But say i have multiple functions in this class. How can i run this function? Or even when say i do python filename.py.. How can i call that function and provide inputs for context and tag?</p>