FYI, this save-image-to-disk style of example is borrowed straight from the docstring for `owslib.wms.getmap()`.