Using SimpleXMLTreeBuilder in elementtree

Posted by Shard on Stack Overflow See other posts from Stack Overflow or by Shard
Published on 2009-07-01T11:02:51Z Indexed on 2010/05/06 9:58 UTC
Read the original article Hit count: 283

Filed under:
|
|

I have been developing an application with django and elementtree and while deploying it to the production server i have found out it is running python 2.4. I have been able to bundle elementtree but now i am getting the error:

"No module named expat; use SimpleXMLTreeBuilder instead"

Unfortunately i cannot upgrade python so im stuck with what i got. How do i use SimpleXMLTreeBuilder as the parser and/or will i need to rewrite code?

© Stack Overflow or respective owner

Related posts about python

Related posts about django