How do we move the output of this script into a text file?
 k = raw_input("Enter the keyword:")
 if __name__ == "__main__":
     sys.path.append("./BeautifulSoup")
     from bs4 import BeautifulSoup
     opener = urllib2.build_opener()
     opener.addheaders = [('User-agent', 'Mozilla/5.0')]
     for start in range(0,2):
         url = "http://www.google.com.au/search?q="+ k +"&start=" + str(start*10)
         print url
 
     
     
     
    