Skip to content

Instantly share code, notes, and snippets.

@ayoungh
Created June 21, 2012 15:55
Show Gist options
  • Save ayoungh/2966647 to your computer and use it in GitHub Desktop.
Save ayoungh/2966647 to your computer and use it in GitHub Desktop.
Grab page in python
from urllib import urlopen
doc = urlopen("http://www.python.org").read()
print doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment