About 50 results
Open links in new tab
  1. What are the differences between lxml and ElementTree?

    70 When it comes to generating XML data in Python, there are two libraries I often see recommended: lxml and ElementTree From what I can tell, the two libraries are very similar to each other. They both …

  2. Installing lxml module in python - Stack Overflow

    Feb 21, 2017 · sudo apt-get install python2-lxml If you are planning to install from source, then albertov's answer will help. But unless there is a reason, don't, just install it from the repository.

  3. finding elements by attribute with lxml - Stack Overflow

    finding elements by attribute with lxml Asked 14 years, 11 months ago Modified 6 months ago Viewed 81k times

  4. python - How to install lxml on Windows - Stack Overflow

    I'm trying to install lmxl on my Windows 8.1 laptop with Python 3.4 and failing miserably. First off, I tried the simple and obvious solution: pip install lxml. However, this didn't work. Here's w...

  5. python - How to install lxml? - Stack Overflow

    Nov 2, 2022 · C:\Program Files\Python311>pip install lxml Collecting lxml Using cached lxml-4.9.1.tar.gz (3.4 MB) Preparing metadata (setup.py) ... done Installing collected packages: lxml DEPRECATION: …

  6. Write xml file using lxml library in Python - Stack Overflow

    Write xml file using lxml library in Python Asked 15 years, 9 months ago Modified 5 years, 3 months ago Viewed 100k times

  7. How do I use xml namespaces with find/findall in lxml?

    How do I use xml namespaces with find/findall in lxml? Asked 15 years, 2 months ago Modified 7 years ago Viewed 42k times

  8. python lxml get parent element when you know child text with xpath

    Jul 31, 2015 · python lxml get parent element when you know child text with xpath Asked 10 years, 6 months ago Modified 2 years, 6 months ago Viewed 14k times

  9. Python: ImportError: lxml not found, please install it

    Despite of that, I have tried to reinstall it by: 1) writing pip install lxml and 2) downloading the lxml wheel corresponding to my python version (lxml-3.8.0-cp36-cp36m-win_amd64.whl), but in any case all …

  10. Parse xml with lxml - extract element value - Stack Overflow

    Sep 30, 2012 · Parse xml with lxml - extract element value Asked 13 years, 4 months ago Modified 8 months ago Viewed 43k times