Skip to content

Instantly share code, notes, and snippets.

@reiddraper
Created February 25, 2010 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reiddraper/314120 to your computer and use it in GitHub Desktop.
Save reiddraper/314120 to your computer and use it in GitHub Desktop.
import urllib2
url = 'http://google.com'
response = urllib2.urlopen(url)
print response.read()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment