I want to make a program which reads the HTML code from my blog, saves the HTML code as a string, so that I can check if specific words are present in the HTML code, here's the code I used:
import urllib import string open_site=urllib.urlopen('http://www.sravan953.blogspot.com') read_site=open_site.read() value=str(read_site) for item in value: print item
But it just doesn't work, because it takes each letter(or you could say character) one by one and runs it in the loop! How do I make it take one whole work at a time?
Thanks in advance