Python 3 convert.