Community Data Science Workshops (Spring 2014)/Saturday May 3rd lecture: Difference between revisions
Content added Content deleted
imported>Mako |
imported>Mako |
||
Line 17: | Line 17: | ||
#* from syntax for importing |
#* from syntax for importing |
||
#* urllib2 and urlopen |
#* urllib2 and urlopen |
||
# |
# JSON file (JavaScript Object Notation) |
||
# |
#* import json; json.loads() |
||
# |
#* like Python (except no single quotes) |
||
# |
#* simple lists, dictionaries |
||
# |
#* can reflect more complicated data structures |
||
# |
#* Example file at http://mako.cc/cdsw.json |
||
# API |
# API |
||
#* definition of an API in general |
#* definition of an API in general |