from mako.template import Template def test(): return Template("abc") # $ templateConstruction="abc"