Oreilly's Python and XML

Julian Tibble chasm at galileo.rift
Sun Oct 28 00:19:21 CEST 2001


>oreilly now has a sample chapter on their upcoming book "python and xml"
>look at:
>
>http://www.ora.com/catalog/pythonxml/chapter/ch01.html
>
>looks very promising.

Yeah, shame about the mistakes.

"def __init_  _(self):"  should be "def __init__(self):"

and

"self.mapping[self.isbn] = buffer" should be
"self.mapping[self.isbn] = self.buffer"

Also, just after this, in the interactive python session, when they
pprint(mapping), they show strings, whereas when I tried it I get unicode
strings (prefixed with a `u')

Unfortunately I couldn't find an e-mail address to report these to.  Anyone
know one?

Julian



More information about the Python-list mailing list