Lecture 14: November 14, 2019

Reading: §12–12.5
Due: Homework 4, due on November 25 at 11:59pm


  1. Reading a URL [geturl.py, geturl2.py, geturl3.py]
    1. Opening a URL
    2. Reading the page as a string
  2. JSON [json-ex.py]
    1. What it is
    2. json.loads
    3. json.dumps

UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
MHI 289I, Programming in Health Informatics
Version of November 13, 2019 at 11:25PM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh