Gerard Flanagan wrote: > I have the following code: > > #### builder.py ######### > class HtmlBuilder(object): > > @staticmethod > def page(title=''): > return HtmlPage(title) > > @staticmethod > def element(tag, text=None, **attribs): > return HtmlElement(tag, text, **attribs) > > @staticmethod > def literal(text): > return HtmlLiteral(text)
just curious, but what's the purpose of this class, and what gave you the idea to structure your program in this way ? </F> -- http://mail.python.org/mailman/listinfo/python-list