You are here:
» Xpath In Python
Xpath in python
This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.
I have a python application in which I am scrapping data from a particular website.. and I want to use xpath. How do I use xpath library in python?

1 year 41 weeks ago
Tags:
Use the lxml2 (http://codespeak.net/lxml/) package. It supports xpath. You can also try beautifulsoup for parsing your web-application which is widely used for scraping applications in Python.
For lxml2 as per their website, basic test of XPath wrappers:
Post Comment