title: What does "module object is not callable" mean?
body: <p>I'm using the .get_data() method with mechanize, which appears to print out the html that I want. I also check the type of what it prints out, and the type is 'str'.</p>
  
  <p>But when I try to parse the str with BeautifulSoup, I get the following error:</p>
  
  <pre><code>---------------------------------------------------------------------------
  TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-163-11c061bf6c04&gt; in &lt;module&gt;()
        7     html = get_html(first[i],last[i])
        8     print type(html)
  ----&gt; 9     print parse_page(html)
       10 #     l_to_store.append(parse_page(html))
       11 # hfb_data['l_to_store']=l_to_store
  
  &lt;ipython-input-161-bedc1ba19b10&gt; in parse_hfb_page(html)
        3     parse html to extract info in connection with a particular person
        4     '''
  ----&gt; 5     soup = BeautifulSoup(html)
        6     for el in soup.find_all('li'):
        7         if el.find('span').contents[0]=='Item:':
  
  TypeError: 'module' object is not callable
  </code></pre>
  
  <p>What exactly is 'module', and how do I get what get_data() returns into html?</p>