My try to move it to python3 (WIP).