Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. soup = BeautifulSoup(infoFile, "html.parser")
  2.  
  3. for i in infoFile:
  4.     for result in soup.find_all("result")
  5.  
  6. -----
  7.  
  8. this results in
  9.  
  10. $ python GetInfo.py
  11.   File "GetInfo.py", line 55
  12.     for result in soup.find_all("result")
  13.                                         ^
  14. SyntaxError: invalid syntax
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement