Working through combining this approach with Unipressed use to query UniProt, prompted me to finally start a Jupyter Notebook where you can run all this without touching your own machine in a temporary session back by the MyBinder service. Currently, the only fully annotated example there is this.
To try it out, go here and click any 'launch binder' badge to get started. Alternatively, just click here to launch a session directly from here.
Then step through running the notebook cells in the first example section.
The dull, static form of the notebook can be viewed here, but please use the active one above for maximum enjoyment.