Python3

Port to python3