xpath support in python 2.4

A

And80

Hi,
I would like to use xpath modules in python2.4.... In my local machine
I am running python2.3.5 and on the server I run python2.4. I have seen
that while on my computer i am able to import xml.xpath, on the server
the module seems to not exist. Is it still part of the standard
library? if not, what should I use?

Thank you in advance,
Andrea Fiore
 
F

Fredrik Lundh

And80 said:
I would like to use xpath modules in python2.4.... In my local machine
I am running python2.3.5 and on the server I run python2.4. I have seen
that while on my computer i am able to import xml.xpath, on the server
the module seems to not exist. Is it still part of the standard
library? if not, what should I use?

sounds like you've installed

http://pyxml.sourceforge.net/

on one of your machines, but not on the other.

(afaik, xml.xpath has never been part of the standard library.)

</F>
 
G

gene tani

And80 said:
Hi,
I would like to use xpath modules in python2.4.... In my local machine
I am running python2.3.5 and on the server I run python2.4. I have seen
that while on my computer i am able to import xml.xpath, on the server
the module seems to not exist. Is it still part of the standard
library? if not, what should I use?

Thank you in advance,
Andrea Fiore

a couple disconnected observations:

- for install questions, you need to specify O/S, how you installed
python, maybe something about RAM/CPU if performance constraints

- check the blogalog about Xpath earlier this year:
http://www.oreillynet.com/pub/wlg/6239
http://www.nelson.monkey.org/~nelson/weblog/tech/python/xpath.html
 
A

Alan Kennedy

[And80]
I would like to use xpath modules in python2.4.... In my local machine
I am running python2.3.5 and on the server I run python2.4. I have seen
that while on my computer i am able to import xml.xpath, on the server
the module seems to not exist.
> Is it still part of the standard library?

No, it's not. Not sure if it ever was.
> if not, what should I use?

Install PyXML

http://pyxml.sourceforge.net

HTH,
 
U

uche.ogbuji

"And80": "Is [the xml.xpath module] still part of the standard
library?"
Alan Kennedy: "No, it's not. Not sure if it ever was. "

It never was.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,273
Messages
2,571,363
Members
48,047
Latest member
prince15

Latest Threads

Top