Developers using Python 2 should begin to plan ahead and switch to Python 3 with the former losing its support from 1st January 2020.
In 2020 Python 2 will be left firmly in the past with no more security updates and bug fixes. Continuing to use it would only heighten the risk of vulnerabilities and the advice is to port your code to Python 3 as soon as possible.
Most of PyPI’s popular packages now work on Python 2 and 3, and more are being added every day. Additionally, a number of critical Python projects have pledged to stop supporting Python 2 soon. To ease the transition, the official porting guide has advice for running Python 2 code in Python 3.