problem importing xml.xpath

Martin von Loewis loewis at informatik.hu-berlin.de
Wed Oct 24 05:38:08 EDT 2001


Leonardo B Lopes <leo at iems.nwu.edu> writes:

> 	I can't find a way to import the xpath library with python2.0. I can
> see it in the right place, in the site-packages dir. I notice that there
> is also an XML directory in the main distr. directory, so I tried moving
> the dirs there too, but that didn't work. All I want to do is get the
> two demos XmlTree.py/XmlEditor.py working. Does anyone have any idea
> what is going on?

Where did you get xml.xpath from? If you got it from 4Suite, it should
be installed as site-packages/_xmlplus/xpath.

Regards,
Martin




More information about the Python-list mailing list