Created
May 25, 2018 19:11
-
-
Save ktl014/b711b06773d0878a24cdb61d52fcc6a2 to your computer and use it in GitHub Desktop.
how to open urls with urllib
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.request import urlopen | |
html = urlopen("http://www.google.com/") | |
print(html) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment