print soup.prettify() SyntaxError: invalid syntax

print soup.prettify() SyntaxError: invalid syntax

from bs4 import BeautifulSoup

File "C:\Python34\lib\bs4\__init__.py", line 355

print soup.prettify()

^

SyntaxError: invalid syntax

bs4安置有题目。倡导删掉暂时的本子。经过pip安置最新版。

精确的安置办法是

pip install bs4

分享到 :
相关推荐

Leave a Reply

Your email address will not be published. Required fields are marked *