title: Examples given in the Python BeautifulSoup 4 Documentation
body: <p>I am learning the BeautifulSoup 4 Documentation, and want to exercise the examples given. </p>
  
  <p>I am trying the examples however it’s not successful. An example below. </p>
  
  <p>It seems I am not putting it in the right way, and problem lies in the ‘url’. What is the right way to put them?</p>
  
  <pre><code>from bs4 import BeautifulSoup
  import re
  import urllib2
  
  
  url = '&lt;a class="sister" href="http://example.com/elsie" id="link1"&gt;Elsie&lt;/a&gt;'
  
  page = urllib2.urlopen(url)
  soup = BeautifulSoup(page.read())
  
  Learning = soup.find_all("a", class_="sister")
  
  print Learning
  </code></pre>