Traceback (the most recent call last) :
The File "& lt; Stdin>" , the line 1, the in & lt; module>
The File "/home/XHD/Templates/beautifulsoup4-4.2.0 bs4/set py", line 365
Print soup. Prettify ()
^
SyntaxError: invalid syntax
Python3.4 version
CodePudding user response:
The solution?I also met this problem
CodePudding user response:
Although I don't know what happened, but I put the from bs4,,,, put the first line,CodePudding user response:
I was in CMD directly PIP install beautifusoup4 installedThen on the python own idle import from bs4 import BeautifulSoup then appear
====RESTART: Shell====
This is how to return a responsibility?