Created
July 23, 2014 16:02
-
-
Save jmoiron/06bee8ee5d3cbeacc9d3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# github search for "json.loads(" => 210,000 matches | |
feed = urllib2.urlopen("http://example.com/api.json").read() | |
data = json.loads(feed) | |
# github search for "json.load(" => 58,000 matches | |
data = json.load(urllib2.urlopen("http://example.com/api.json")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment