Hey All,
I have written a script that uses elementTree to work on python 2.4. Took quite a while and worked a threat but now I need to get it working on 2.3.4. I can't upgrade the version of python. Is there an equivelent version of the element tree for 2.3.4????

Recommended Answers

All 3 Replies

what kind of error messages are you getting from elementtree?

My program starts with

from lxml import etree

but I get

ImportError: No module named lxml

and if I try to install the lxml library It tells me I need 2.4

OK. Found I need lxml-1.3.4 installed and then use xpath() instead of findall()
Thanks for the reply :-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.