求大神指点,Python安装BeautifulSoup后输入from bs4 import BeautifulSoup
Python安装BeautifulSoup后输入from bs4 import BeautifulSoup
出现
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/xhd/Templates/beautifulsoup4-4.2.0/bs4/__init__.py", line 365
print soup.prettify()
^
SyntaxError: invalid syntax
Python3.4版本