Hi friends!
import urllib
url = 'http://www.python.org'
text = urllib.urlopen(url).read()
I have typed the code above on the terminal and in the next line with print text
an html file printed there.
I want to send it to a text file, how can i do that?