I am trying to write a program that takes a web page and basically finds all the strings that a user puts in and returns them to standard output. As the topic says i am doing this with python because i want to learn it as well as write this program. I have looked for documentation on functions like findall and search but could not find any good documentation on them.Here is what i have so far. Any suggestions would be great. Thanks.
import urllib, sre, re, sys,
print "Enter The website: "
url = raw_input()
data = urllib.urlopen(url).read()
print "Please enter a topic for me to find: "
topic = raw_input()
matches = re.findall(data, topic)
print matches