Here is a HTML rendition of the notes for a short course on using PyVO for programmatic Virtual Observatory access. Note the attached sources – you’re very welcome to plunder them for your own projects.
Also, there’s a PDF version for printing or easier managing. Note that the source code is attached to the PDF.