Attempt to convert to Py3. Not Working