def __init__(self): self.page = PyWeb("download.html") self.page.InitHTML(PYWEB_HTML5) self.doConfig() self.doContent() self.page.end() self.page.createPage()
def __init__(self): self.p = PyWeb("test.html") self.p.addTemplate(myTemplate) self.p.createPage()