Python3 fixes

Fixes for some Python 2-isms in the notes.