import urllib2
import html2text
print 'Please input URL with the text you want to analyze: '
url = raw_input()
page = urllib2.urlopen(url)
html_content = page.read()
print html_content
rendered_content = html2text.html2text(html_content)
f = open('file_text.txt', 'w')
f.write(rendered_content)
f.close()
Was trying to save the file to my computer. I know there is a problem with the ASCII