建立模板並渲染它的最基本的方法是使用Template 類: from mako.template import Template t = Template('hello world!') print t.render().
確定! 回上一頁