other Python3 fixes (on examples)