Skip to content

Instantly share code, notes, and snippets.

@eloipuertas
Created March 31, 2016 10:13
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 eloipuertas/3faf04e6c81129d5d90047344aa5557b to your computer and use it in GitHub Desktop.
Save eloipuertas/3faf04e6c81129d5d90047344aa5557b to your computer and use it in GitHub Desktop.
SimpleHTTPClientPython
import urllib2
f = urllib2.urlopen('http://www.python.org/')
print f.read().decode('utf-8')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment