How to run an xpath over html page in python?
Question: I think using lxml library in python can help, but not able to find out how to
do this??


Answer: A simple starting point...

    
    
    import lxml.html
    page = lxml.html.parse('http://www.google.com').getroot()
    print page.xpath('//a/@href')
    

