Python中PyQuery庫的使用總結

Python中PyQuery庫的使用總結 pyquery庫是jQuery的Python實現,能夠用於解析HTML網頁內容。 html from pyquery import PyQuery as pq print('----1.可加載一段HTML字符串,或一個HTML文件,或是一個url地址----') d1 = pq('<html><title>hello</title></html>')
相關文章
相關標籤/搜索