カメレオン テンプレートは初めてです。コードスニペットを貼り付けます..
runtemp.py
 import os
 path = os.path.dirname(__file__)
 from chameleon import PageTemplateLoader
 templates = PageTemplateLoader(os.path.join(path, "templates"))
 template = templates['mytemp.pt']
 template(name='John')
 print str(template.read())
mytem.pt
 <testtag>
       <innertesttag>${name}</innertesttag>
  </testtag>
しかし、私が得た出力は
 <testtag>
       <innertesttag>${name}</innertesttag>
 </testtag>
$(name) の代わりに John が出力されることを期待していまし
た。テンプレートをレンダリングする方法は?