from bs4 import BeautifulSoup import urllib.request import win_unicode_console win_unicode_console.enable() link = (\'https://pietroalbini.io/\') req = urllib.re
find_all returns a ResultSet object which you can iterate over using a for loop. What you can do is:
find_all
for
for wrapper in body.find_all('div', {"class":"wrapper"}): print wrapper.text