def createHtml (partyList): print "Hello World
"
body = HtmlElement("BODY") head = HtmlElement("H1") image = HtmlElement("IMG") body.writeStdout()
image = Tag.IMG("flag.gif") head = Tag.H1 ([image, " Politics"]) body = Tag.BODY(head) body.writeStdout()