Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. import urllib2
  2. response = urllib2.urlopen('http://www.codecademy.com/tracks/python')
  3. print response.info()
  4. html = response.read()
  5. print html
  6. response.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement