soup = BeautifulSoup.BeautifulSoup(
    '<html><body><span title="Funstuff" class="thisClass">Fun Text</span></body></html>'
    )
print(soup.html.body.span['title'])
print(soup.find('span', {'class': 'thisClass'})['title'])
Pull Tag Value using BeautifulSoup