# By Brian Gross #
# Co editor Liz Henry #
# 4/19/11 #
url = raw_input('Please enter a website url: ')
x = raw_input('Please enter a search word: ')
import urllib
var_html = urllib.urlopen(url).read()
if x in var_html:
print x,'was found in the webpage'
answer = raw_input('Would you like to see the source code of that webpage? ')
if answer==yes or answer==y or answer==sure:
print var_html
if answer==no or answer==n:
exit()
else:
print 'What was that?'
exit()
# http://en.wikibooks.org/wiki/Python_Programming/Internet #