March 30th, 2013, 09:47 PM
How to use XPATH to extract data
I'm running Cygwin on Windows with and I have cygwin python, and active state python installed.
I'd like to write a python program to extract the name of my jobs from the windows command "schtasks /query /xml" using the XPATH. After a little google searching
(1) I tried to use xmlsoft but there is no ./configure in the downloaded source code files with which I'm supposed to build it.
(2) /cygdrive/c/Python32/Scripts/pypm.exe install lxml did not work either -- it says I need to buy the business version....
Can someone recommend a free (as in free beer) XPATH package for python I can use with cygwin python or activestate python? A tutorial for using it would be nice too since I'm a beginner python programmer.