[FRPythoneers] xml difference in 1.5 to 2.1

Andrew R. Diederich diederic at boulder.net
Wed Aug 22 11:12:58 MDT 2001


I'm trying out a simple example from Sean McGraths XML Processing with
Python book, but I think I've been bitten by a version difference, maybe
in the pyxml version?

What I'm trying is 
>>> from xml.dom import core
Traceback (most recent call last):
  File "<pyshell#1>", line 1, in ?
    from xml.dom import core
ImportError: cannot import name core

but on a SuSE box that still has 1.5.2 on it, that works just fine.  (The
first box is a win2k box with the activestate 2.1 on it.)  

any ideas?  I tried installing the latest pyxml, but still no joy.

--
Andrew Diederich




More information about the FRPythoneers mailing list