2015-01-17 67 views

回答

0

我會建議BeautifulSoup4,您可以通過pip install bs4

然後安裝,這是因爲這

print(BeautifulSoup(open("path/to/file/filename.html").read()).prettify()) 

取決於你如何使用它作爲簡單的,你可以什麼把它分成幾行。