[lxml]. page = etree.HTML(html) for i in page.xpath(u"XPath語法"): print i ... 安裝Python及Python常用語法可參考Python - 十分鐘入門.
確定! 回上一頁