title: Cheetah template engine calling python base function
body: <p>I am using Cheetah template together with Cherrypy, below is my main python file</p>
  
  <pre><code>Main.py:
  def multiple(a,b):
      return a*b
  
  def index(self):
      t = Template('template.tmpl')
      #blah implementation here
  </code></pre>
  
  <p>In my template file, I wish to achieve</p>
  
  <pre><code>&lt;body&gt;
      &lt;div&gt;
         $multiple(2,3)
      &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Anyone has an idea how can I get this implement? Many thanks.</p>
  
  <p>Regards,
  Andy.</p>