Hello everybody!!! On Google App Engine I found this code that is fetching a web page's URL:
from google.appengine.api import urlfetch
url = "http://www.google.com/"
result = urlfetch.fetch(url)
if result.status_code == 200:
doSomethingWithResult(result.content)
Is this the right code to fecth that page's HTML source? Does the result variable contain HTML sorce of http://www.google.com/? If yes, what Python command I should use here instead of doSomethingWithResult(result.content) in order to display that HTML source? print result doesn't seem to be the right way.