import os from google.appengine.ext.webapp import template class Page: def writeheader(self, out): template_values = { } path = os.path.join(os.path.dirname(__file__), 'page-header.html') out.write(template.render(path, template_values))