text: #!/usr/bin/python -tt
  # Copyright 2010 Google Inc.
  # Licensed under the Apache License, Version 2.0
  # http://www.apache.org/licenses/LICENSE-2.0
  
  # Google's Python Class
  # http://code.google.com/edu/languages/google-python-class/
  
  """A tiny Python program to check that Python is working.
  Try running this program from the command line like this:
    python hello.py
    python hello.py Alice
  That should print:
    Hello World -or- Hello Alice
  Try changing the 'Hello' to 'Howdy' and run again.
  Once you have that working, you're ready for class -- you can edit
  and run Python code; now you just need to learn Python!
  """
  
  import sys
  from bs4 import BeautifulSoup
  from bs4 import SoupStrainer
  import urllib2
  
  only_a_tags = SoupStrainer("a")
  
  soup = BeautifulSoup(open("index.html", parse_only=only_a_tags))
  
  # soup = BeautifulSoup("<title>data</title>")
  # redditAll = soup.find_all("a")
  # for links in soup.find_all('a'):
  #     print (links.get('href'))
  
  # url = "http://www.pythonforbeginners.com"
  
  # content = urllib2.urlopen(url).read()
  
  # soup = BeautifulSoup(content)
  
  print(soup.prettify())
  
  print soup.title
  # # >> 'title'? Python For Beginners
  
  # print soup.title.string
  # # >> ? Python For Beginners
  
  # print soup.p
   
  
  
  # print soup.a
  # # Python For Beginners