Created
June 21, 2012 15:55
-
-
Save ayoungh/2966647 to your computer and use it in GitHub Desktop.
Grab page in python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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