[XML-SIG] location of the PyXML package with python 2.0

Fred L. Drake, Jr. fdrake@acm.org
Mon, 4 Dec 2000 13:12:30 -0500 (EST)


Alexandre Fayolle writes:
 > In other words, to use PyXML with python2.0, is it necessary to use "from
 > _xmlplus.dom.ext.reader import Sax2" or can I safely write "from
 > xml.dom.ext.reader import Sax2" and assume the import voodoo magick is
 > performed when the xml package is imported ?

  Use the later.  This will raise ImportError if PyXML is not
installed.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations