Give up on python 3 for now
Some python3 syntax tweaks