>>> print p
Making pages from objects is easy
>>> p.append("Special < characters > are & escaped")
>>> print p
Making pages from objects is easy
Special < characters > are & escaped
>>> choices = ['python', 'tcl', 'perl']
>>> print List(choices)
>>> choices = ['tools', ['python', 'c++'], 'food', ['spam', 'eggs']]
>>> l = List(choices)
>>> print l
>>> h = Href('www.python.org', 'python')
>>> print h
python
>>> d = SimpleDocument(title='My doc')
>>> p = Paragraph('Web pages made easy')
>>> d.append(p)
>>> d.append(h)
>>> print d
My doc
Web pages made easy
python
>>>