def write_template(self, template_file, template_data=None):

        html = self.render_template(template_file, template_data)

        self.response.headers['Content-Type'] = 'text/html'
        self.response.out.write(html)

    #--------------------------------------------------------------------------
Write a template as output
dataset/ETHPy150Open chrislacy/digitalashes.com/src/BaseHandler.py/BaseHandler.write_template