How can I extract text from a span tag using beautiful soup 4?
<p>how can I scrape text through span tags using beautful soup?
<a href="http://www.uoj.ac.ae/ContentBan.aspx?m=15&amp;p=4&amp;sm=4#" rel="nofollow">scrape faculty members informations</a></p>

<pre><code>from bs4 import BeautifulSoup
import requests
r = requests.get("http://www.uoj.ac.ae/ContentBan.aspx?m=15&amp;p=4&amp;sm=4")
soup = BeautifulSoup(r.content, 'html5lib')
for tag in soup.find_all('table'):
    if tag.has_attr("class"):
        if tag['class'] == 'MsoTableGrid':
            for tag1 in soup.findAll('span'):
                print tag1.text
</code></pre>

<p>I want to print the text inside span tags, but the output i get is:</p>

<pre><code> Process finished with exit code 0
</code></pre>