Python3

Trying to use more Python 3 idioms