Python 2.0 released in 2000. After two decade’s, The python developer’s decided to sunset for python 2 version on January 1, 2020. That means that they are not going improve it anymore after that day, even if someone finds a security problem in it. You should upgrade from python2 to Python 3 as soon as you can.
Behind Reason For Python Version 2 Ending:
Python developer’s released Python 2.0 in 2000. Few years later they realized to make significant changes to improve the Python programing language. So in 2006, they started Python 3.0 version.
Even after launching Python 3 in 2006, Python developer’s supporting, improving and publishing both Python 2 and Python 3 version’s. The developers were focusing on fixing bugs and security checks for Python 2, the team could not focus on the development of Python 3 and they have less time to work on making Python 3 better and faster.
The sunset date has now passed; it was January 1st, 2020.
As of January 1st, 2020 no new bug reports, fixes, or changes will be made to Python 2, and Python 2 is no longer supported.