http://karpoke.ignaciocano.com/2020/03/28/converting-your-python-2-code-to-python-3/
Converting your Python 2 code to Python 3