[XML-SIG] using PyXML 0.6.6
Mark McEahern
marklists@mceahern.com
Thu, 9 Aug 2001 10:51:00 -0700
Thank you, Martin. I ended up having to reinstall Python because I screwed
up my installation. Your explanation helped. I looked in the __init__.py
in the lib/xml folder and saw the magic that brings in the _xmlplus stuff.
// mark
-----Original Message-----
From: xml-sig-admin@python.org [mailto:xml-sig-admin@python.org]On
Behalf Of Martin v. Loewis
Sent: Wednesday, August 08, 2001 11:11 PM
To: marklists@mceahern.com
Cc: xml-sig@python.org
Subject: Re: [XML-SIG] using PyXML 0.6.6
> How do I use the modules it installed into c:\python21\_xmlplus\ ?
Very simple:
import xml
from xml.dom.ext.reader import Sax2
etc
Since Python 2 already ships with an xml package, _xmlplus is a magic
extension mechanism.
Regards,
Martin
_______________________________________________
XML-SIG maillist - XML-SIG@python.org
http://mail.python.org/mailman/listinfo/xml-sig