from urllib2 import urlopen
from bs4 import BeautifulSoup
html = urlopen( "http://www.pythonscraping.com/exercises/exercise1.html")
bsObj = BeautifulSoup( html. read( ),"html.parser" ) ;
print("bsObj.h1:\n")
print(bsObj . h1)